Comments (1)
This exception occurs when you try to set a Locale that is not on the supported locale list provided to the initialize method.
For example if you provide this list:
supported_locales.add(new Locale("en"));
supported_locales.add(new Locale("de"));
supported_locales.add(new Locale("es"));
But you later try to set this locale
new Locale("en","US")
It will fail as new Locale("en") is not the same as new Locale("en","US)
from localechanger.
Related Issues (20)
- Change language without restarting activity HOT 1
- Couldn't set Locale for tabItems in tab Layout
- Val cannot be reassigned in kotlin HOT 2
- AndroidX support HOT 2
- Locale βarβ language change not working with Huawei Devices but working with others HOT 1
- Dual Display with Presentation always dismissed
- Change Language with Application-Level Context HOT 1
- not working on pre nougat devices HOT 1
- How to save selected language in LocalePreference HOT 1
- Does not work with androidx.appcompat:appcompat:1.2.0 HOT 6
- Allow to use custom LocalePersistor HOT 4
- NightMode not working anymore since LocaleChangerAppCompatDelegate inroduction in v1.1
- Activity does not restart if redeclared as singleTop in Manifest
- Delegate is null HOT 4
- Feedback BUG HOT 6
- Feedback BUG2
- java.lang.NullPointerException HOT 7
- Activity does not automatically re-create HOT 3
- Layout Direction not changing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from localechanger.