Using additional root urls for localization purposes#115
Using additional root urls for localization purposes#115golopupinsky wants to merge 1 commit intoJasonette:developfrom
Conversation
|
Thanks for the pull request and the idea. This inspired me to think about the problem a bit more, and I think we need to approach this from a deeper level, otherwise we will have to come up with ad hoc approaches every time we come across obstacles like this. So my idea is two parts:
When we compose these two together, we can open a home href which is relevant to the current user. The resulting Let me know what you think, thanks! |

Proposed change allows specifying multiple root urls for easy app localization.
Additional root urls keys in settings.plist should specify language two-letter code capitalized as following "urlEN", "urlFR", "urlNL".
Upon launch app will iterate over preferred device localizations and will try to find and assign a corresponding localized root url. If no corresponding localized urls found it will use the default "url" key value.
Addresses issue #73