question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for defaultLocale

See original GitHub issue

Is there a way to set defaultLocale which would basically default to a certain language if translation is not found?

For eg. we have all translations for en but missing some for de. In this case we would set defaultLocale to en and make sure that user with locale de does not see empty text but rather en translations.

Thank you for the response.

p.s.: As seen in https://www.npmjs.com/package/i18n

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
francescarpicommented, May 10, 2017

Hi, done in master branch. I’ll build a new tag in next days. Best regards.

0reactions
francescarpicommented, May 13, 2017

Hi, I’ve created a new tag 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support for 'default' locale · Issue #1679 · i18next ... - GitHub
I'm not convinced that using a non-standard "locale" like default just to manipulate routing is a good idea in the first place. It...
Read more >
DefaultLocale - Shopify Developers
DefaultLocale. Makes sure that the theme has a default locale file. Examples. Anchor link to section titled "Examples". The following examples contain code ......
Read more >
default locale support for texts datasources - SAP Community
Hi, I faced with problem - does BW support default locales ? I have some texts datasources which contain some list of entries...
Read more >
How To Set Default Locale 'Language' For All New Users ?
How To Set Default Locale 'Language' For All New Users ? Solution. Sign In. To view full details, sign in with your My...
Read more >
Supported languages and locales - IBM
Language Territory or region Code set Default locale name Aliases Translated? Cli... Afrikaans South Africa UTF‑8 af_ZA.UTF‑8 No No Albanian Albania UTF‑8 SQ_AL SQ_AL.UTF‑8 No...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found