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.

I’m working on an app that supports 10 languages. How do I tell the component to use a particular language such as en_us, zh_cn, tl_ph etc?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:4
  • Comments:8

github_iconTop GitHub Comments

1reaction
ammichaelcommented, Aug 7, 2018

You can use the “locale” props.

locale="pt_br"
0reactions
thiago-slbcommented, Nov 8, 2019

Locale is not working when using “day of the week”. DD/MM/YYYY (ddd) is returing => 08/11/2019. I tried locale=“pt_br”, locale=“pt-br”, locale=“pt_BR”, locale=“PT”, locale=“pt”, locale=“BR”, locale=“br”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Localization - Wikipedia
Language localization, translating a product into different languages or adapting a product to a country or region ; Internationalization and localization, the ...
Read more >
What is localization? | Definition from TechTarget
Localization is the adaptation of a product or service to meet the needs of a particular language, culture or desired population's "look-and-feel.".
Read more >
Everything You Need to Know About Localization - Smartling
Localization is the process of adapting a piece of content's full meaning for a new region, including translation, associated imagery, and cultural elements ......
Read more >
LOCALIZATION definition | Cambridge English Dictionary
the process of organizing a business or industry so that its main activities happen in local areas rather than nationally or internationally: In...
Read more >
What Is Localization, and How to Build a Strategy? | Phrase
Localization is the process of adapting a product or service to the culture and language of customers in a target market.
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