function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gerardo BiancoGerardo Bianco 

pin code protection multi language and logout offline

Hi, I have two questions:

1) can I translate the messages related to the pin-code protection? I switched my profile to a different language, but it remains the same. I have also looked into the translation workbench without success
2) when I am offline and I ask to reset my pin (because I forgot) the app logs out, but I get an error message saying that the Device is offline, and then the only way to proceed (even if the device comes back on line) is to kill the app.  Is there a way to change this screen? Thanks.
KevinPKevinP
Gerardo, 

Is this an Android, iOS or Hybrid app that you're writing? 

I can only speak to the ios bit right now, but i just spun up a test hybrid app in xcode, and discovered that the i18n bundles included don't have strings related to pin settings. I'm guessing then, that it's not currently possible. You should file an issue on github.

Gerardo BiancoGerardo Bianco
Hi Keniv, 

thanks for your answer. 

It is Hybrid on IOS.
In my bundleI have the file
Resources/SalesforceSDKResources.bundle/en.lproj/Localizable.strings 
where it looks like I could modify the showed strings, but when I modify them these don't change on the app.. it is kind of weird. 
Do you know how to tell the app to read from this file?
Do yuo know how I can dynamically change it ?

Last but not least how can I modify the logout behaviour when I am offline (please see my question nr 2 in previous msg)?

Thanks again
akhilesh_sfdcakhilesh_sfdc
Gerardo, #2 sounds like a bug too. Please file separate issues for both cases in github: https://github.com/forcedotcom/SalesforceMobileSDK-iOS

-Akhilesh
Mobile SDK Community: https://plus.google.com/communities/114225252149514546445