Allow definition of custom locales
See original GitHub issueFor a current project I would like to define a custom locale (let’s call it an ‘in-house-dialect’). It would be nice to be able to add it, preferably by inheriting the properties from an already available language.
Rough sketch:
pybabel init -i messages.pot -d translations --locale="dialect" --base="en"
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Working with Custom Locales - Win32 apps | Microsoft Learn
Your application can retrieve information about a particular supplemental locale only when that locale is the currently selected user locale.
Read more >Local custom definition and meaning | Collins English Dictionary
Local custom definition: A custom is an activity, a way of behaving , or an event which is usual or traditional in... |...
Read more >Define locales - ServiceNow Docs
The base system allows you to specify your locale so information such as dates, ... Prepare to left-pad number fields in custom tables....
Read more >System and Custom locales - OnceHub Support Center
Custom locales enable you to modify any Customer interface text. All texts are editable and can be found by using the browser search...
Read more >Content localization through locales | Contentful
Locales let you define content that needs to be available in multiple languages | Field-level | Entry-level | Content type and Space-level localization....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@lt3Dev sure, by all means, please do! Let’s say the code is under the MIT license or beerware license 😄
In the meanwhile, this snippet can be used to hack locale data:
Usage: