Page MenuHomePhabricator

Explore best practices for app specific UI localization
Closed, ResolvedPublic

Description

This task is to explore and pick a best practice for app localization that can differ from system locale. For example, ViewTests just force a configuration change. Perhaps we could do something similar to each Activity? There are probably good articles available on this by now.

Event Timeline

Niedzielski closed this task as Resolved.Feb 22 2017, 3:20 AM
Niedzielski claimed this task.

I change the View configuration at the Activity level so custom Views don't require special behavior. Changing the app language triggers an app wide bus event that the BaseActivity subscribes to. The downside is that the Activity is recreated. Implementation in https://gerrit.wikimedia.org/r/338064