language name declaration - Magento 2












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














bumped to the homepage by Community 11 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    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














    bumped to the homepage by Community 11 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      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

      4,62123486




      4,62123486





      bumped to the homepage by Community 11 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 11 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          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

          29.1k1573120




          29.1k1573120













          • 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

          Magento 2 controller redirect on button click in phtml file

          Polycentropodidae