-
-
Notifications
You must be signed in to change notification settings - Fork 105
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 modeltranslation support #25
Comments
Check PR #26 |
Any update about this issue? |
+1 It would be really great to have such feature out of the box!!! |
@justinmayer @parruc still interested in a PR for this issue? |
I have done it the ugly way in the save method so I do not strictly need it but I still think it would be beneficial for the project: urls are often based on slugs and having translated slugs that comes from specific language titles would helps with website positioning and user friendliness of the site IMO. |
@parruc I have the impression that this project is a little bit abandoned by the maintainer. |
Steps to reproduce the problem:
modeltranslation
installedname
field and aslug
field populated fromname
name
andslug
fields are marked for translation intranslation.py
name
field for all languages using the different values and save itCurrent result:
All
slug
values are always (for all languages) the slugified version ofname
in the default language:slug_en
populated fromname_en
slug_it
populated fromname_en
slug_fr
populated fromname_en
Expected result:
Each
slug
value should be the slugified version ofname
for the corresponding language:slug_en
populated fromname_en
slug_it
populated fromname_it
slug_fr
populated fromname_fr
Dirty solution overriding model save method:
The text was updated successfully, but these errors were encountered: