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

RFE: Model translations in .po files #182

Closed
atodorov opened this Issue Jan 17, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@atodorov
Member

atodorov commented Jan 17, 2018

We need to be able to translate some DB objects into different languages but keep the original English strings into the database. This will avoid situations like #175 where objects were directly editted in the database and the code is searching said objects by hard-coded name.

https://github.com/ecometrica/django-vinaigrette looks very promissing but has not been updated recently.

Needed for TestCaseStatus and TestCaseRunStatus because they have a special meaning in the application.

atodorov added a commit that referenced this issue Jan 18, 2018

Register models for DB translations. Fixes #182
using django-vinaigrette we can have models stored with English
text in the database and have Django automatically load their
translations from .po files!

@atodorov atodorov closed this in c375c45 Jan 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment