language name declaration - Magento 2Unable to enable the Apache2 user www-dataHow to add a new language - Magento 2.0.1setup upgrade not list the language package extension - Magento 2.0.1Classnames 'Void' inside vendor/magento/Magento2 - language pack installation doesn't workGet error when running php bin/magento setup:di:compileBasic steps to install a languge pack or locale in Magento 2Magento 2 : Plugin autoload errorMagento2 - Custom module translation not used for backendUnable to Serialize Value Magento 2.2.6

Copy group of files (Filename*) to backup (Filename*.bak)

Which is better for keeping data: primary partition or logical partition?

Journal standards vs. personal standards

Who voices the character "Finger" in The Fifth Element?

If two black hole event horizons overlap (touch) can they ever separate again?

How do I present a future free of gender stereotypes without being jarring or overpowering the narrative?

Does a return economy-class seat between London and San Francisco release 5.28 tonnes of CO2 equivalents?

Will writing actual numbers instead of writing them with letters affect readership?

Are all commands with an optional argument fragile?

Why were the first airplanes "backwards"?

Put my student loan in parents’ second mortgage - help?

Do the 26 richest billionaires own as much wealth as the poorest 3.8 billion people?

How do I tell the reader that my character is autistic in Fantasy?

How to get a character's limb regrown at 3rd level?

Thin wall to block LED light from hitting photodiode?

I just started should I accept a farewell lunch for a coworker I don't know?

Is there a legal way for US presidents to extend their terms beyond two terms of four years?

Checkmate in 1 on a Tangled Board

Movie with Zoltar in a trailer park named Paradise and a boy playing a video game then being recruited by aliens to fight in space

Variable dimensional integrals

Should 私の be omitted?

Adjective for 'made of pus' or 'corrupted by pus' or something of something of pus

Bin Packing with Relational Penalization

What is "oversubscription" in Networking?



language name declaration - Magento 2


Unable to enable the Apache2 user www-dataHow to add a new language - Magento 2.0.1setup upgrade not list the language package extension - Magento 2.0.1Classnames 'Void' inside vendor/magento/Magento2 - language pack installation doesn't workGet error when running php bin/magento setup:di:compileBasic steps to install a languge pack or locale in Magento 2Magento 2 : Plugin autoload errorMagento2 - Custom module translation not used for backendUnable to Serialize Value Magento 2.2.6






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am looking for where the locale name declared in language pack?



We can see the list of language in admin or using command line



Store > Configuration > General > Locale Option


or



bin/magento info:language:list


I have searched in /var/www/html/magento2/vendor/magento/language-de_de (composer.json, language.xml, registration.php) but unable to find the exact name of the locale like listed in admin(German (Germany)).



Thanks.










share|improve this question




























    0















    I am looking for where the locale name declared in language pack?



    We can see the list of language in admin or using command line



    Store > Configuration > General > Locale Option


    or



    bin/magento info:language:list


    I have searched in /var/www/html/magento2/vendor/magento/language-de_de (composer.json, language.xml, registration.php) but unable to find the exact name of the locale like listed in admin(German (Germany)).



    Thanks.










    share|improve this question
























      0












      0








      0








      I am looking for where the locale name declared in language pack?



      We can see the list of language in admin or using command line



      Store > Configuration > General > Locale Option


      or



      bin/magento info:language:list


      I have searched in /var/www/html/magento2/vendor/magento/language-de_de (composer.json, language.xml, registration.php) but unable to find the exact name of the locale like listed in admin(German (Germany)).



      Thanks.










      share|improve this question














      I am looking for where the locale name declared in language pack?



      We can see the list of language in admin or using command line



      Store > Configuration > General > Locale Option


      or



      bin/magento info:language:list


      I have searched in /var/www/html/magento2/vendor/magento/language-de_de (composer.json, language.xml, registration.php) but unable to find the exact name of the locale like listed in admin(German (Germany)).



      Thanks.







      magento2 multistore store-view magento-2.0.1






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 25 '16 at 9:32









      Bilal UseanBilal Usean

      5,3905 gold badges40 silver badges94 bronze badges




      5,3905 gold badges40 silver badges94 bronze badges




















          1 Answer
          1






          active

          oldest

          votes


















          0














          you can get all language declaration list from vendor folder MagentoFrameworkLocaleConfig.php file.



          you can check here from above class,



          protected $_allowedLocales = [
          'af_ZA', /*Afrikaans (South Africa)*/
          'ar_DZ', /*Arabic (Algeria)*/
          'ar_EG', /*Arabic (Egypt)*/
          'ar_KW', /*Arabic (Kuwait)*/
          'ar_MA', /*Arabic (Morocco)*/
          'ar_SA', /*Arabic (Saudi Arabia)*/
          'az_Latn_AZ', /*Azerbaijani (Azerbaijan)*/
          'be_BY', /*Belarusian (Belarus)*/
          'bg_BG', /*Bulgarian (Bulgaria)*/
          'bn_BD', /*Bengali (Bangladesh)*/
          'bs_Latn_BA', /*Bosnian (Bosnia)*/
          'ca_ES', /*Catalan (Catalonia)*/
          'cs_CZ', /*Czech (Czech Republic)*/
          'cy_GB', /*Welsh (United Kingdom)*/
          'da_DK', /*Danish (Denmark)*/
          'de_AT', /*German (Austria)*/
          'de_CH', /*German (Switzerland)*/
          'de_DE', /*German (Germany)*/
          'el_GR', /*Greek (Greece)*/
          'en_AU', /*English (Australian)*/
          'en_CA', /*English (Canadian)*/
          'en_GB', /*English (United Kingdom)*/
          'en_NZ', /*English (New Zealand)*/
          'en_US', /*English (United States)*/
          'es_AR', /*Spanish (Argentina)*/
          'es_CO', /*Spanish (Colombia)*/
          'es_PA', /*Spanish (Panama)*/
          'gl_ES', /*Galician (Galician)*/
          'es_CR', /*Spanish (Costa Rica)*/
          'es_ES', /*Spanish (Spain)*/
          'es_MX', /*Spanish (Mexico)*/
          'eu_ES', /*Basque (Basque)*/
          'es_PE', /*Spanish (Peru)*/
          'et_EE', /*Estonian (Estonia)*/
          'fa_IR', /*Persian (Iran)*/
          'fi_FI', /*Finnish (Finland)*/
          'fil_PH', /*Filipino (Philippines)*/
          'fr_CA', /*French (Canada)*/
          'fr_FR', /*French (France)*/
          'gu_IN', /*Gujarati (India)*/
          'he_IL', /*Hebrew (Israel)*/
          'hi_IN', /*Hindi (India)*/
          'hr_HR', /*Croatian (Croatia)*/
          'hu_HU', /*Hungarian (Hungary)*/
          'id_ID', /*Indonesian (Indonesia)*/
          'is_IS', /*Icelandic (Iceland)*/
          'it_CH', /*Italian (Switzerland)*/
          'it_IT', /*Italian (Italy)*/
          'ja_JP', /*Japanese (Japan)*/
          'ka_GE', /*Georgian (Georgia)*/
          'km_KH', /*Khmer (Cambodia)*/
          'ko_KR', /*Korean (South Korea)*/
          'lo_LA', /*Lao (Laos)*/
          'lt_LT', /*Lithuanian (Lithuania)*/
          'lv_LV', /*Latvian (Latvia)*/
          'mk_MK', /*Macedonian (Macedonia)*/
          'mn_Cyrl_MN', /*Mongolian (Mongolia)*/
          'ms_Latn_MY', /*Malaysian (Malaysia)*/
          'nl_NL', /*Dutch (Netherlands)*/
          'nb_NO', /*Norwegian BokmГ_l (Norway)*/
          'nn_NO', /*Norwegian Nynorsk (Norway)*/
          'pl_PL', /*Polish (Poland)*/
          'pt_BR', /*Portuguese (Brazil)*/
          'pt_PT', /*Portuguese (Portugal)*/
          'ro_RO', /*Romanian (Romania)*/
          'ru_RU', /*Russian (Russia)*/
          'sk_SK', /*Slovak (Slovakia)*/
          'sl_SI', /*Slovenian (Slovenia)*/
          'sq_AL', /*Albanian (Albania)*/
          'sr_Cyrl_RS', /*Serbian (Serbia)*/
          'sv_SE', /*Swedish (Sweden)*/
          'sw_KE', /*Swahili (Kenya)*/
          'th_TH', /*Thai (Thailand)*/
          'tr_TR', /*Turkish (Turkey)*/
          'uk_UA', /*Ukrainian (Ukraine)*/
          'vi_VN', /*Vietnamese (Vietnam)*/
          'zh_Hans_CN', /*Chinese (China)*/
          'zh_Hant_HK', /*Chinese (Hong Kong SAR)*/
          'zh_Hant_TW', /*Chinese (Taiwan)*/
          'es_CL', /*Spanich (Chile)*/
          'lo_LA', /*Laotian*/
          'es_VE', /*Spanish (Venezuela)*/
          'en_IE', /*English (Ireland)*/
          ];





          share|improve this answer























          • great! If I create new locale te_TE, I need to declare here? or it will collect automatically from language package.

            – Bilal Usean
            May 25 '16 at 9:52











          • i havent try for new language but magento admin core declaration list are comes from here.

            – Rakesh Jesadiya
            May 25 '16 at 9:59











          • I have tried with add new locale but it will not reflected in admin, I think it will collect somewhere else (like app/etc/config.php) however I am not sure, let we wait what others think.

            – Bilal Usean
            May 25 '16 at 10:10













          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f116896%2flanguage-name-declaration-magento-2%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          you can get all language declaration list from vendor folder MagentoFrameworkLocaleConfig.php file.



          you can check here from above class,



          protected $_allowedLocales = [
          'af_ZA', /*Afrikaans (South Africa)*/
          'ar_DZ', /*Arabic (Algeria)*/
          'ar_EG', /*Arabic (Egypt)*/
          'ar_KW', /*Arabic (Kuwait)*/
          'ar_MA', /*Arabic (Morocco)*/
          'ar_SA', /*Arabic (Saudi Arabia)*/
          'az_Latn_AZ', /*Azerbaijani (Azerbaijan)*/
          'be_BY', /*Belarusian (Belarus)*/
          'bg_BG', /*Bulgarian (Bulgaria)*/
          'bn_BD', /*Bengali (Bangladesh)*/
          'bs_Latn_BA', /*Bosnian (Bosnia)*/
          'ca_ES', /*Catalan (Catalonia)*/
          'cs_CZ', /*Czech (Czech Republic)*/
          'cy_GB', /*Welsh (United Kingdom)*/
          'da_DK', /*Danish (Denmark)*/
          'de_AT', /*German (Austria)*/
          'de_CH', /*German (Switzerland)*/
          'de_DE', /*German (Germany)*/
          'el_GR', /*Greek (Greece)*/
          'en_AU', /*English (Australian)*/
          'en_CA', /*English (Canadian)*/
          'en_GB', /*English (United Kingdom)*/
          'en_NZ', /*English (New Zealand)*/
          'en_US', /*English (United States)*/
          'es_AR', /*Spanish (Argentina)*/
          'es_CO', /*Spanish (Colombia)*/
          'es_PA', /*Spanish (Panama)*/
          'gl_ES', /*Galician (Galician)*/
          'es_CR', /*Spanish (Costa Rica)*/
          'es_ES', /*Spanish (Spain)*/
          'es_MX', /*Spanish (Mexico)*/
          'eu_ES', /*Basque (Basque)*/
          'es_PE', /*Spanish (Peru)*/
          'et_EE', /*Estonian (Estonia)*/
          'fa_IR', /*Persian (Iran)*/
          'fi_FI', /*Finnish (Finland)*/
          'fil_PH', /*Filipino (Philippines)*/
          'fr_CA', /*French (Canada)*/
          'fr_FR', /*French (France)*/
          'gu_IN', /*Gujarati (India)*/
          'he_IL', /*Hebrew (Israel)*/
          'hi_IN', /*Hindi (India)*/
          'hr_HR', /*Croatian (Croatia)*/
          'hu_HU', /*Hungarian (Hungary)*/
          'id_ID', /*Indonesian (Indonesia)*/
          'is_IS', /*Icelandic (Iceland)*/
          'it_CH', /*Italian (Switzerland)*/
          'it_IT', /*Italian (Italy)*/
          'ja_JP', /*Japanese (Japan)*/
          'ka_GE', /*Georgian (Georgia)*/
          'km_KH', /*Khmer (Cambodia)*/
          'ko_KR', /*Korean (South Korea)*/
          'lo_LA', /*Lao (Laos)*/
          'lt_LT', /*Lithuanian (Lithuania)*/
          'lv_LV', /*Latvian (Latvia)*/
          'mk_MK', /*Macedonian (Macedonia)*/
          'mn_Cyrl_MN', /*Mongolian (Mongolia)*/
          'ms_Latn_MY', /*Malaysian (Malaysia)*/
          'nl_NL', /*Dutch (Netherlands)*/
          'nb_NO', /*Norwegian BokmГ_l (Norway)*/
          'nn_NO', /*Norwegian Nynorsk (Norway)*/
          'pl_PL', /*Polish (Poland)*/
          'pt_BR', /*Portuguese (Brazil)*/
          'pt_PT', /*Portuguese (Portugal)*/
          'ro_RO', /*Romanian (Romania)*/
          'ru_RU', /*Russian (Russia)*/
          'sk_SK', /*Slovak (Slovakia)*/
          'sl_SI', /*Slovenian (Slovenia)*/
          'sq_AL', /*Albanian (Albania)*/
          'sr_Cyrl_RS', /*Serbian (Serbia)*/
          'sv_SE', /*Swedish (Sweden)*/
          'sw_KE', /*Swahili (Kenya)*/
          'th_TH', /*Thai (Thailand)*/
          'tr_TR', /*Turkish (Turkey)*/
          'uk_UA', /*Ukrainian (Ukraine)*/
          'vi_VN', /*Vietnamese (Vietnam)*/
          'zh_Hans_CN', /*Chinese (China)*/
          'zh_Hant_HK', /*Chinese (Hong Kong SAR)*/
          'zh_Hant_TW', /*Chinese (Taiwan)*/
          'es_CL', /*Spanich (Chile)*/
          'lo_LA', /*Laotian*/
          'es_VE', /*Spanish (Venezuela)*/
          'en_IE', /*English (Ireland)*/
          ];





          share|improve this answer























          • great! If I create new locale te_TE, I need to declare here? or it will collect automatically from language package.

            – Bilal Usean
            May 25 '16 at 9:52











          • i havent try for new language but magento admin core declaration list are comes from here.

            – Rakesh Jesadiya
            May 25 '16 at 9:59











          • I have tried with add new locale but it will not reflected in admin, I think it will collect somewhere else (like app/etc/config.php) however I am not sure, let we wait what others think.

            – Bilal Usean
            May 25 '16 at 10:10















          0














          you can get all language declaration list from vendor folder MagentoFrameworkLocaleConfig.php file.



          you can check here from above class,



          protected $_allowedLocales = [
          'af_ZA', /*Afrikaans (South Africa)*/
          'ar_DZ', /*Arabic (Algeria)*/
          'ar_EG', /*Arabic (Egypt)*/
          'ar_KW', /*Arabic (Kuwait)*/
          'ar_MA', /*Arabic (Morocco)*/
          'ar_SA', /*Arabic (Saudi Arabia)*/
          'az_Latn_AZ', /*Azerbaijani (Azerbaijan)*/
          'be_BY', /*Belarusian (Belarus)*/
          'bg_BG', /*Bulgarian (Bulgaria)*/
          'bn_BD', /*Bengali (Bangladesh)*/
          'bs_Latn_BA', /*Bosnian (Bosnia)*/
          'ca_ES', /*Catalan (Catalonia)*/
          'cs_CZ', /*Czech (Czech Republic)*/
          'cy_GB', /*Welsh (United Kingdom)*/
          'da_DK', /*Danish (Denmark)*/
          'de_AT', /*German (Austria)*/
          'de_CH', /*German (Switzerland)*/
          'de_DE', /*German (Germany)*/
          'el_GR', /*Greek (Greece)*/
          'en_AU', /*English (Australian)*/
          'en_CA', /*English (Canadian)*/
          'en_GB', /*English (United Kingdom)*/
          'en_NZ', /*English (New Zealand)*/
          'en_US', /*English (United States)*/
          'es_AR', /*Spanish (Argentina)*/
          'es_CO', /*Spanish (Colombia)*/
          'es_PA', /*Spanish (Panama)*/
          'gl_ES', /*Galician (Galician)*/
          'es_CR', /*Spanish (Costa Rica)*/
          'es_ES', /*Spanish (Spain)*/
          'es_MX', /*Spanish (Mexico)*/
          'eu_ES', /*Basque (Basque)*/
          'es_PE', /*Spanish (Peru)*/
          'et_EE', /*Estonian (Estonia)*/
          'fa_IR', /*Persian (Iran)*/
          'fi_FI', /*Finnish (Finland)*/
          'fil_PH', /*Filipino (Philippines)*/
          'fr_CA', /*French (Canada)*/
          'fr_FR', /*French (France)*/
          'gu_IN', /*Gujarati (India)*/
          'he_IL', /*Hebrew (Israel)*/
          'hi_IN', /*Hindi (India)*/
          'hr_HR', /*Croatian (Croatia)*/
          'hu_HU', /*Hungarian (Hungary)*/
          'id_ID', /*Indonesian (Indonesia)*/
          'is_IS', /*Icelandic (Iceland)*/
          'it_CH', /*Italian (Switzerland)*/
          'it_IT', /*Italian (Italy)*/
          'ja_JP', /*Japanese (Japan)*/
          'ka_GE', /*Georgian (Georgia)*/
          'km_KH', /*Khmer (Cambodia)*/
          'ko_KR', /*Korean (South Korea)*/
          'lo_LA', /*Lao (Laos)*/
          'lt_LT', /*Lithuanian (Lithuania)*/
          'lv_LV', /*Latvian (Latvia)*/
          'mk_MK', /*Macedonian (Macedonia)*/
          'mn_Cyrl_MN', /*Mongolian (Mongolia)*/
          'ms_Latn_MY', /*Malaysian (Malaysia)*/
          'nl_NL', /*Dutch (Netherlands)*/
          'nb_NO', /*Norwegian BokmГ_l (Norway)*/
          'nn_NO', /*Norwegian Nynorsk (Norway)*/
          'pl_PL', /*Polish (Poland)*/
          'pt_BR', /*Portuguese (Brazil)*/
          'pt_PT', /*Portuguese (Portugal)*/
          'ro_RO', /*Romanian (Romania)*/
          'ru_RU', /*Russian (Russia)*/
          'sk_SK', /*Slovak (Slovakia)*/
          'sl_SI', /*Slovenian (Slovenia)*/
          'sq_AL', /*Albanian (Albania)*/
          'sr_Cyrl_RS', /*Serbian (Serbia)*/
          'sv_SE', /*Swedish (Sweden)*/
          'sw_KE', /*Swahili (Kenya)*/
          'th_TH', /*Thai (Thailand)*/
          'tr_TR', /*Turkish (Turkey)*/
          'uk_UA', /*Ukrainian (Ukraine)*/
          'vi_VN', /*Vietnamese (Vietnam)*/
          'zh_Hans_CN', /*Chinese (China)*/
          'zh_Hant_HK', /*Chinese (Hong Kong SAR)*/
          'zh_Hant_TW', /*Chinese (Taiwan)*/
          'es_CL', /*Spanich (Chile)*/
          'lo_LA', /*Laotian*/
          'es_VE', /*Spanish (Venezuela)*/
          'en_IE', /*English (Ireland)*/
          ];





          share|improve this answer























          • great! If I create new locale te_TE, I need to declare here? or it will collect automatically from language package.

            – Bilal Usean
            May 25 '16 at 9:52











          • i havent try for new language but magento admin core declaration list are comes from here.

            – Rakesh Jesadiya
            May 25 '16 at 9:59











          • I have tried with add new locale but it will not reflected in admin, I think it will collect somewhere else (like app/etc/config.php) however I am not sure, let we wait what others think.

            – Bilal Usean
            May 25 '16 at 10:10













          0












          0








          0







          you can get all language declaration list from vendor folder MagentoFrameworkLocaleConfig.php file.



          you can check here from above class,



          protected $_allowedLocales = [
          'af_ZA', /*Afrikaans (South Africa)*/
          'ar_DZ', /*Arabic (Algeria)*/
          'ar_EG', /*Arabic (Egypt)*/
          'ar_KW', /*Arabic (Kuwait)*/
          'ar_MA', /*Arabic (Morocco)*/
          'ar_SA', /*Arabic (Saudi Arabia)*/
          'az_Latn_AZ', /*Azerbaijani (Azerbaijan)*/
          'be_BY', /*Belarusian (Belarus)*/
          'bg_BG', /*Bulgarian (Bulgaria)*/
          'bn_BD', /*Bengali (Bangladesh)*/
          'bs_Latn_BA', /*Bosnian (Bosnia)*/
          'ca_ES', /*Catalan (Catalonia)*/
          'cs_CZ', /*Czech (Czech Republic)*/
          'cy_GB', /*Welsh (United Kingdom)*/
          'da_DK', /*Danish (Denmark)*/
          'de_AT', /*German (Austria)*/
          'de_CH', /*German (Switzerland)*/
          'de_DE', /*German (Germany)*/
          'el_GR', /*Greek (Greece)*/
          'en_AU', /*English (Australian)*/
          'en_CA', /*English (Canadian)*/
          'en_GB', /*English (United Kingdom)*/
          'en_NZ', /*English (New Zealand)*/
          'en_US', /*English (United States)*/
          'es_AR', /*Spanish (Argentina)*/
          'es_CO', /*Spanish (Colombia)*/
          'es_PA', /*Spanish (Panama)*/
          'gl_ES', /*Galician (Galician)*/
          'es_CR', /*Spanish (Costa Rica)*/
          'es_ES', /*Spanish (Spain)*/
          'es_MX', /*Spanish (Mexico)*/
          'eu_ES', /*Basque (Basque)*/
          'es_PE', /*Spanish (Peru)*/
          'et_EE', /*Estonian (Estonia)*/
          'fa_IR', /*Persian (Iran)*/
          'fi_FI', /*Finnish (Finland)*/
          'fil_PH', /*Filipino (Philippines)*/
          'fr_CA', /*French (Canada)*/
          'fr_FR', /*French (France)*/
          'gu_IN', /*Gujarati (India)*/
          'he_IL', /*Hebrew (Israel)*/
          'hi_IN', /*Hindi (India)*/
          'hr_HR', /*Croatian (Croatia)*/
          'hu_HU', /*Hungarian (Hungary)*/
          'id_ID', /*Indonesian (Indonesia)*/
          'is_IS', /*Icelandic (Iceland)*/
          'it_CH', /*Italian (Switzerland)*/
          'it_IT', /*Italian (Italy)*/
          'ja_JP', /*Japanese (Japan)*/
          'ka_GE', /*Georgian (Georgia)*/
          'km_KH', /*Khmer (Cambodia)*/
          'ko_KR', /*Korean (South Korea)*/
          'lo_LA', /*Lao (Laos)*/
          'lt_LT', /*Lithuanian (Lithuania)*/
          'lv_LV', /*Latvian (Latvia)*/
          'mk_MK', /*Macedonian (Macedonia)*/
          'mn_Cyrl_MN', /*Mongolian (Mongolia)*/
          'ms_Latn_MY', /*Malaysian (Malaysia)*/
          'nl_NL', /*Dutch (Netherlands)*/
          'nb_NO', /*Norwegian BokmГ_l (Norway)*/
          'nn_NO', /*Norwegian Nynorsk (Norway)*/
          'pl_PL', /*Polish (Poland)*/
          'pt_BR', /*Portuguese (Brazil)*/
          'pt_PT', /*Portuguese (Portugal)*/
          'ro_RO', /*Romanian (Romania)*/
          'ru_RU', /*Russian (Russia)*/
          'sk_SK', /*Slovak (Slovakia)*/
          'sl_SI', /*Slovenian (Slovenia)*/
          'sq_AL', /*Albanian (Albania)*/
          'sr_Cyrl_RS', /*Serbian (Serbia)*/
          'sv_SE', /*Swedish (Sweden)*/
          'sw_KE', /*Swahili (Kenya)*/
          'th_TH', /*Thai (Thailand)*/
          'tr_TR', /*Turkish (Turkey)*/
          'uk_UA', /*Ukrainian (Ukraine)*/
          'vi_VN', /*Vietnamese (Vietnam)*/
          'zh_Hans_CN', /*Chinese (China)*/
          'zh_Hant_HK', /*Chinese (Hong Kong SAR)*/
          'zh_Hant_TW', /*Chinese (Taiwan)*/
          'es_CL', /*Spanich (Chile)*/
          'lo_LA', /*Laotian*/
          'es_VE', /*Spanish (Venezuela)*/
          'en_IE', /*English (Ireland)*/
          ];





          share|improve this answer













          you can get all language declaration list from vendor folder MagentoFrameworkLocaleConfig.php file.



          you can check here from above class,



          protected $_allowedLocales = [
          'af_ZA', /*Afrikaans (South Africa)*/
          'ar_DZ', /*Arabic (Algeria)*/
          'ar_EG', /*Arabic (Egypt)*/
          'ar_KW', /*Arabic (Kuwait)*/
          'ar_MA', /*Arabic (Morocco)*/
          'ar_SA', /*Arabic (Saudi Arabia)*/
          'az_Latn_AZ', /*Azerbaijani (Azerbaijan)*/
          'be_BY', /*Belarusian (Belarus)*/
          'bg_BG', /*Bulgarian (Bulgaria)*/
          'bn_BD', /*Bengali (Bangladesh)*/
          'bs_Latn_BA', /*Bosnian (Bosnia)*/
          'ca_ES', /*Catalan (Catalonia)*/
          'cs_CZ', /*Czech (Czech Republic)*/
          'cy_GB', /*Welsh (United Kingdom)*/
          'da_DK', /*Danish (Denmark)*/
          'de_AT', /*German (Austria)*/
          'de_CH', /*German (Switzerland)*/
          'de_DE', /*German (Germany)*/
          'el_GR', /*Greek (Greece)*/
          'en_AU', /*English (Australian)*/
          'en_CA', /*English (Canadian)*/
          'en_GB', /*English (United Kingdom)*/
          'en_NZ', /*English (New Zealand)*/
          'en_US', /*English (United States)*/
          'es_AR', /*Spanish (Argentina)*/
          'es_CO', /*Spanish (Colombia)*/
          'es_PA', /*Spanish (Panama)*/
          'gl_ES', /*Galician (Galician)*/
          'es_CR', /*Spanish (Costa Rica)*/
          'es_ES', /*Spanish (Spain)*/
          'es_MX', /*Spanish (Mexico)*/
          'eu_ES', /*Basque (Basque)*/
          'es_PE', /*Spanish (Peru)*/
          'et_EE', /*Estonian (Estonia)*/
          'fa_IR', /*Persian (Iran)*/
          'fi_FI', /*Finnish (Finland)*/
          'fil_PH', /*Filipino (Philippines)*/
          'fr_CA', /*French (Canada)*/
          'fr_FR', /*French (France)*/
          'gu_IN', /*Gujarati (India)*/
          'he_IL', /*Hebrew (Israel)*/
          'hi_IN', /*Hindi (India)*/
          'hr_HR', /*Croatian (Croatia)*/
          'hu_HU', /*Hungarian (Hungary)*/
          'id_ID', /*Indonesian (Indonesia)*/
          'is_IS', /*Icelandic (Iceland)*/
          'it_CH', /*Italian (Switzerland)*/
          'it_IT', /*Italian (Italy)*/
          'ja_JP', /*Japanese (Japan)*/
          'ka_GE', /*Georgian (Georgia)*/
          'km_KH', /*Khmer (Cambodia)*/
          'ko_KR', /*Korean (South Korea)*/
          'lo_LA', /*Lao (Laos)*/
          'lt_LT', /*Lithuanian (Lithuania)*/
          'lv_LV', /*Latvian (Latvia)*/
          'mk_MK', /*Macedonian (Macedonia)*/
          'mn_Cyrl_MN', /*Mongolian (Mongolia)*/
          'ms_Latn_MY', /*Malaysian (Malaysia)*/
          'nl_NL', /*Dutch (Netherlands)*/
          'nb_NO', /*Norwegian BokmГ_l (Norway)*/
          'nn_NO', /*Norwegian Nynorsk (Norway)*/
          'pl_PL', /*Polish (Poland)*/
          'pt_BR', /*Portuguese (Brazil)*/
          'pt_PT', /*Portuguese (Portugal)*/
          'ro_RO', /*Romanian (Romania)*/
          'ru_RU', /*Russian (Russia)*/
          'sk_SK', /*Slovak (Slovakia)*/
          'sl_SI', /*Slovenian (Slovenia)*/
          'sq_AL', /*Albanian (Albania)*/
          'sr_Cyrl_RS', /*Serbian (Serbia)*/
          'sv_SE', /*Swedish (Sweden)*/
          'sw_KE', /*Swahili (Kenya)*/
          'th_TH', /*Thai (Thailand)*/
          'tr_TR', /*Turkish (Turkey)*/
          'uk_UA', /*Ukrainian (Ukraine)*/
          'vi_VN', /*Vietnamese (Vietnam)*/
          'zh_Hans_CN', /*Chinese (China)*/
          'zh_Hant_HK', /*Chinese (Hong Kong SAR)*/
          'zh_Hant_TW', /*Chinese (Taiwan)*/
          'es_CL', /*Spanich (Chile)*/
          'lo_LA', /*Laotian*/
          'es_VE', /*Spanish (Venezuela)*/
          'en_IE', /*English (Ireland)*/
          ];






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 25 '16 at 9:37









          Rakesh JesadiyaRakesh Jesadiya

          31k15 gold badges80 silver badges134 bronze badges




          31k15 gold badges80 silver badges134 bronze badges












          • great! If I create new locale te_TE, I need to declare here? or it will collect automatically from language package.

            – Bilal Usean
            May 25 '16 at 9:52











          • i havent try for new language but magento admin core declaration list are comes from here.

            – Rakesh Jesadiya
            May 25 '16 at 9:59











          • I have tried with add new locale but it will not reflected in admin, I think it will collect somewhere else (like app/etc/config.php) however I am not sure, let we wait what others think.

            – Bilal Usean
            May 25 '16 at 10:10

















          • great! If I create new locale te_TE, I need to declare here? or it will collect automatically from language package.

            – Bilal Usean
            May 25 '16 at 9:52











          • i havent try for new language but magento admin core declaration list are comes from here.

            – Rakesh Jesadiya
            May 25 '16 at 9:59











          • I have tried with add new locale but it will not reflected in admin, I think it will collect somewhere else (like app/etc/config.php) however I am not sure, let we wait what others think.

            – Bilal Usean
            May 25 '16 at 10:10
















          great! If I create new locale te_TE, I need to declare here? or it will collect automatically from language package.

          – Bilal Usean
          May 25 '16 at 9:52





          great! If I create new locale te_TE, I need to declare here? or it will collect automatically from language package.

          – Bilal Usean
          May 25 '16 at 9:52













          i havent try for new language but magento admin core declaration list are comes from here.

          – Rakesh Jesadiya
          May 25 '16 at 9:59





          i havent try for new language but magento admin core declaration list are comes from here.

          – Rakesh Jesadiya
          May 25 '16 at 9:59













          I have tried with add new locale but it will not reflected in admin, I think it will collect somewhere else (like app/etc/config.php) however I am not sure, let we wait what others think.

          – Bilal Usean
          May 25 '16 at 10:10





          I have tried with add new locale but it will not reflected in admin, I think it will collect somewhere else (like app/etc/config.php) however I am not sure, let we wait what others think.

          – Bilal Usean
          May 25 '16 at 10:10

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f116896%2flanguage-name-declaration-magento-2%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

          Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?