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 a variable key #85

Closed
marwen-cherif opened this issue Nov 10, 2014 · 2 comments
Closed

Localize a variable key #85

marwen-cherif opened this issue Nov 10, 2014 · 2 comments

Comments

@marwen-cherif
Copy link

I'have some trouble to localize a variable key :
i'have :
"device.label.1" = "Phone1";
"device.label.2" = "Phone2";

i want to output my phone label in just a foreach on my device list.
such as {{# localize}} device.label.{{id}} {{/ localize}}

what can i do ?

@groue
Copy link
Owner

groue commented Nov 12, 2014

Hi,

Your issue is not clear. Let's split it into several tiny pieces, so that it gets easier to grasp.

So please first write a template that is able to render your strings, non-localized. Once those values are correctly rendered, in a non-localized way, we'll be able to look into the localization process.

Come back when this task is done. If you have trouble achieving it, come back as well, but we will know that your problem is not a localization one.

@groue
Copy link
Owner

groue commented Nov 17, 2014

Could you fix your issue, @chrifmarwen? Si vous préférez, nous pouvons parler Français.

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

2 participants