Why do I get an i18n error "InconsistentLocale" or "InconsistentUiLanguage" when starting MATLAB?

2 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 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:

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by