Why do I get an i18n error "InconsistentLocale" or "InconsistentUiLanguage" when starting MATLAB?
2 views (last 30 days)
Show older comments
MathWorks Support Team
on 4 May 2012
Edited: MathWorks Support Team
on 23 Jan 2015
I get one of the following two errors when starting MATLAB on my non-US English operating system:
fl:i18n:InconsistentLocale - The system locale setting, system_locale_name, is different from the user locale setting, user_locale_name.
fl:i18n:InconsistentUiLanguage - The user UI language setting, user_ui_locale_name, is different from the user locale setting, user_locale_name.
In R2011b or prior releases, the error message is :
ERROR: MATLAB:I18n:InconsistentLocale - The system locale setting, system_locale_name, is different from the user locale setting, user_locale_name.
MATLAB:I18n:InconsistentUiLanguage - The user UI language setting, user_ui_locale_name, is different from the user locale setting, user_locale_name.
Accepted Answer
MathWorks Support Team
on 18 Oct 2013
These errors mean you have an inconsistent locale setting. You should be able to resolve these issues by setting the LANG or LC_MESSAGES environment variables to the appropriate setting for your language.
Please see this link in the documentation for more information:
0 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!