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

Translations for the placeholder names #83

Open
elky opened this issue Nov 5, 2013 · 2 comments
Open

Translations for the placeholder names #83

elky opened this issue Nov 5, 2013 · 2 comments

Comments

@elky
Copy link
Contributor

elky commented Nov 5, 2013

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

@batiste
Copy link
Owner

batiste commented Nov 12, 2013

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:

  1. Find a way to inject the placeholder's name into the PO files for translation along with the rest of the template string.
  2. Display the translated string the the admin (easy part)

@sunjoomoon
Copy link

What about using rosetta application, and use {% trans "name-here" %} ?

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

No branches or pull requests

4 participants