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

Feature request: fallback language #1

Closed
andi34 opened this issue Mar 1, 2020 · 1 comment
Closed

Feature request: fallback language #1

andi34 opened this issue Mar 1, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@andi34
Copy link
Collaborator

andi34 commented Mar 1, 2020

Ist es möglich ein Fallback einzurichten?
Z.B. wenn in deutsch nicht alles übersetz ist, dass er dann für diese i18n Elemente auf z.B Englisch zurückgreift?

Default habe ich Englisch eingestellt, ich lade also den translator einmal normal und anschließend mit der entsprechenden Sprache. Keine optimale Lösung aber so sind alle i18n Elemente am Ende mit Text versehen.

translator.load();
translator.load(config.language);
@andreasremdt andreasremdt self-assigned this Mar 3, 2020
@andreasremdt andreasremdt added the enhancement New feature or request label Mar 3, 2020
@andreasremdt
Copy link
Owner

Thank you for the suggestion, I have added support for fallback languages in version 1.1.0. You can see the changes in this version here.

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

No branches or pull requests

2 participants