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

Cross Reference within language file not wokring #179

Closed
antonycooper opened this issue Jul 29, 2016 · 2 comments
Closed

Cross Reference within language file not wokring #179

antonycooper opened this issue Jul 29, 2016 · 2 comments

Comments

@antonycooper
Copy link

I have been using https://github.com/angular-translate/angular-translate for some time and have a well developed language file where we cross reference other elements within the file, i.e.

"PLACEHOLDER": {
"USERNAME": "Enter your email"
},
"LABEL": {
"EMAIL": "@:PLACEHOLDER.USERNAME"
}

So when we use {{ 'LABEL.EMAIL' | translate }} it actually uses the text within PLACEHOLDER.USERNAME

This does not work with when I implement in angular 2.
Can anyone tell me if this is working?

@ocombe
Copy link
Member

ocombe commented Aug 13, 2016

Hello, sorry the placeholders don't work in ng2-translate, but it would be a nice PR if you have some time to do it :)

@ocombe
Copy link
Member

ocombe commented Sep 23, 2016

This is actually a duplicate of #147, closing this one, follow the status in the other one.

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