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

Localize with babel #7

Closed
wanderingstan opened this issue Jan 11, 2018 · 3 comments
Closed

Localize with babel #7

wanderingstan opened this issue Jan 11, 2018 · 3 comments
Assignees

Comments

@wanderingstan
Copy link
Contributor

Need the site in other languages.

Lets use Flask-Babel

@wanderingstan wanderingstan self-assigned this Jan 11, 2018
@wanderingstan
Copy link
Contributor Author

Got text wrapped with gettext() and did initial extract to a .pot file here: https://github.com/OriginProtocol/company-website/tree/topic/localization

File looks valid with Poedit software on mac:

screen shot 2018-01-10 at 4 58 01 pm

@wanderingstan
Copy link
Contributor Author

@moe456 is helping with generating site based on localized strings. (I only got so far as to mark all the text and extract it)

This data store may be useful for getting country names in other languages:
https://github.com/umpirsky/country-list

@wanderingstan
Copy link
Contributor Author

We're now just updating and improving this feature, so I'm going to call it done.

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