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

Add translations for one other language #163

Open
5 tasks
jace opened this issue Oct 12, 2017 · 0 comments
Open
5 tasks

Add translations for one other language #163

jace opened this issue Oct 12, 2017 · 0 comments

Comments

@jace
Copy link
Member

jace commented Oct 12, 2017

In the future, we'll need our apps available in languages other than English. i18n is really hard to retrofit into an app, so we need to plan for it upfront, and continuously confirm it's working.

HGTV should be made available in at least one other language as a test case, as it contains very little UI text and should be easy to translate. The tasks:

  1. Use a framework like Babel to manage translation strings (Baseframe uses it).
  2. Ensure server-side translation for text originating in Python code or Jinja2 templates by using the _() and __() wrappers (Python) and {% trans %} tag (Jinja2) wherever UI text appears.
  3. Use format_* and ngettext wherever numbers or singular/plural-based text appears.
  4. Pick an i18n framework for JavaScript and figure out how to do client-side translations (this should be solved in Baseframe and used here).
  5. Commission a translation into at least one other language that the dev team can understand.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant