In this post:
https://www.b4x.com/android/forum/threads/b4xdatetemplate-change-of-month-weekday.120348/post-754070
Erel shows how to override the device locale so the host app can use a different locale for DateTime functions.
I can only get it to work if I put the code snippet in the app's starter service - which is what Erel is saying.
I am developing an app that supports all languages supported by AWS Translate:
https://docs.aws.amazon.com/translate/latest/dg/what-is.html
The app gets the device's locale and uses this to translate English phrases to the device language.
The app can also toggle to English then back to the device language.
Only problem is when toggling from the device language to English all DateTime functions stay in the device language.
I'm trying to find a way to dynamically change the locale as per Erel's post - I've scoured the forums without success.
Any and all suggestions appreciated...
https://www.b4x.com/android/forum/threads/b4xdatetemplate-change-of-month-weekday.120348/post-754070
Erel shows how to override the device locale so the host app can use a different locale for DateTime functions.
I can only get it to work if I put the code snippet in the app's starter service - which is what Erel is saying.
I am developing an app that supports all languages supported by AWS Translate:
https://docs.aws.amazon.com/translate/latest/dg/what-is.html
The app gets the device's locale and uses this to translate English phrases to the device language.
The app can also toggle to English then back to the device language.
Only problem is when toggling from the device language to English all DateTime functions stay in the device language.
I'm trying to find a way to dynamically change the locale as per Erel's post - I've scoured the forums without success.
Any and all suggestions appreciated...