django-page-cms
django-page-cms copied to clipboard
Translations for the placeholder names
Hi there,
This is actually not bug, just a feature. Is it possible to add translations for the placeholder tag names? For example I would want to add russian translation for {% placeholder "My custom field" %} somewhere to make interface more readable for the client.
Thank you
Hi,
There is no feature like this right now, but I imagine adding it shoudn't be too complicated. I just don't have time for this myself. You are welcome to try.
What I imagine as a "simple" solution:
- Find a way to inject the placeholder's name into the PO files for translation along with the rest of the template string.
- Display the translated string the the admin (easy part)
What about using rosetta application, and use {% trans "name-here" %} ?