Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

multiple translations at the same time, on the same page #429

Closed
ngouy opened this issue Jan 16, 2017 · 2 comments
Closed

multiple translations at the same time, on the same page #429

ngouy opened this issue Jan 16, 2017 · 2 comments

Comments

@ngouy
Copy link

ngouy commented Jan 16, 2017

Sorry, i'm sure i'm missing something somewhere, but i can not find a way to have multiple translations at the same time on the same page, regardless of i18n.locale.
There is no locale key to pass to {{t .... }} helper so we have

{{t 'hello' locale='en'}}/{{t 'hello' locale='es'}}/{{t 'hello' locale='fr'}}
which could gives :
hello/hola/bonjour
?

@ngouy ngouy changed the title multiple translations at the same time multiple translations at the same time, on the same page Jan 16, 2017
@nsharrok
Copy link

see #419
Its only a hack but it got me what I needed

@jamesarosen
Copy link
Owner

jamesarosen/ember-i18n has been deprecated in favor of ember-intl.

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

No branches or pull requests

3 participants