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.

Country generation does not respect chosen locale

See original GitHub issue

It appears that Address('en').country() does not respect the locale. Countries outside locale are still generated.

Looking at the code it appears there is no implementation for locale specific country, if so, please change issue to a feature request.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

4reactions
sinecodecommented, Jun 26, 2019

Yes, we did the same thing in #664

I will work on it!

2reactions
sinecodecommented, Jun 26, 2019

@lk-geimfari no, maybe it’s better to leave it as it is. Because some countries don’t have a single specific continent, for example Russia and Turkey, they belong both to Europa and Asia. It could be ambiguous in some situations.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Locale - ArchWiki
Setting the locale. The locale to be used, chosen among the previously generated ones, is set in locale. conf files. Each of these...
Read more >
Many Across the Globe Are Dissatisfied With How Democracy ...
Across 27 countries polled, a median of 51% are dissatisfied with how democracy is working in their country; just 45% are satisfied.
Read more >
The Competitive Advantage of Nations
Attaining international success can make an industry prestigious, reinforcing its advantage. The presence of strong local rivals is a final, and powerful, ...
Read more >
How do refugees affect social life in host communities? The ...
This paper investigates how social dimensions of life in local communities are affected by the long-term presence of Congolese refugees in ...
Read more >
Developing countries and development co-operation: What is ...
The unprecedented health and economic crisis developing countries are facing will aggravate existing development challenges.
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