Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix resource localization #11

Open
LorenzCK opened this issue Mar 30, 2018 · 0 comments
Open

Fix resource localization #11

LorenzCK opened this issue Mar 30, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@LorenzCK
Copy link
Member

At the moment Vernacular creates full platform resource files, which include untranslated (and untranslatable) entries in the POT/PO files.

The following entry, for instance

# Main application title
msgid "title_main"
msgstr ""

can be left untranslated in specific language files, but must be prevented to generate a resource entry in the platform files.

As of now, the values-it/strings.xml Android resource will contain the entry

<string formatted="false" name="Vernacular_P0_title_main">title_main</string>

which prevents the OS from localizing the string correctly from the default language resource files. (Same goes for the other platforms.)

@LorenzCK LorenzCK added the enhancement New feature or request label Mar 30, 2018
@LorenzCK LorenzCK self-assigned this Mar 30, 2018
@LorenzCK LorenzCK added this to the Version 4.5 milestone Mar 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant