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

Load translation for a word/sentence depending on the context? #336

Open
NVK15 opened this issue Apr 18, 2017 · 1 comment
Open

Load translation for a word/sentence depending on the context? #336

NVK15 opened this issue Apr 18, 2017 · 1 comment

Comments

@NVK15
Copy link

NVK15 commented Apr 18, 2017

Hello,

I have a situation where i have two different translations for the same word.
Example:
"Patients": "患者数", //present in file1.json
"Patients": "患者", //present in file2.json

These two translations are present in two different json files(file1.json and file2.json). But when i have the application loaded, both the translation json files are loaded in order. The "Patients" word has different translations depending on the context in two different HTML pages. Depending on the order in which the translation json files load, the word "Patients" gets translated.

How can i load the correct translation for the word depending on the context? Is there any configuration which we can do?

Looking forward for reply!

Thanks in advance.

@rubenv
Copy link
Owner

rubenv commented Apr 18, 2017

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

No branches or pull requests

2 participants