浏览代码

Feature/5351 shorted locale (#5352)

* Update polish translations

* Add short form of locale based on http://www.lingoes.net/en/translator/langcode.htm

* Fix authority of pl translation.
Add short code to the Serbian and Swedish translations
Change locale documentation
Add all locale to src\locale\Readme.md with information about missing.

Co-authored-by: kerog (st) <konrad@kerogos.pl>
kerog 5 年之前
父节点
当前提交
c578f82c76
共有 42 个文件被更改,包括 348 次插入240 次删除
  1. 9 0
      site/docs/api/localizations.md
  2. 277 179
      src/locale/README.md
  3. 1 1
      src/locale/bootstrap-table-af-ZA.js
  4. 1 1
      src/locale/bootstrap-table-ar-SA.js
  5. 1 1
      src/locale/bootstrap-table-bg-BG.js
  6. 1 1
      src/locale/bootstrap-table-ca-ES.js
  7. 1 1
      src/locale/bootstrap-table-cs-CZ.js
  8. 1 1
      src/locale/bootstrap-table-da-DK.js
  9. 1 1
      src/locale/bootstrap-table-de-DE.js
  10. 1 1
      src/locale/bootstrap-table-el-GR.js
  11. 1 1
      src/locale/bootstrap-table-en-US.js
  12. 1 1
      src/locale/bootstrap-table-es-ES.js
  13. 1 1
      src/locale/bootstrap-table-et-EE.js
  14. 1 1
      src/locale/bootstrap-table-eu-EU.js
  15. 1 1
      src/locale/bootstrap-table-fa-IR.js
  16. 1 1
      src/locale/bootstrap-table-fi-FI.js
  17. 1 1
      src/locale/bootstrap-table-fr-FR.js
  18. 1 1
      src/locale/bootstrap-table-he-IL.js
  19. 1 1
      src/locale/bootstrap-table-hr-HR.js
  20. 1 1
      src/locale/bootstrap-table-hu-HU.js
  21. 1 1
      src/locale/bootstrap-table-id-ID.js
  22. 1 1
      src/locale/bootstrap-table-it-IT.js
  23. 1 1
      src/locale/bootstrap-table-ja-JP.js
  24. 1 1
      src/locale/bootstrap-table-ka-GE.js
  25. 1 1
      src/locale/bootstrap-table-ko-KR.js
  26. 1 1
      src/locale/bootstrap-table-ms-MY.js
  27. 1 1
      src/locale/bootstrap-table-nb-NO.js
  28. 1 1
      src/locale/bootstrap-table-nl-NL.js
  29. 23 22
      src/locale/bootstrap-table-pl-PL.js
  30. 1 1
      src/locale/bootstrap-table-pt-PT.js
  31. 1 1
      src/locale/bootstrap-table-ro-RO.js
  32. 1 1
      src/locale/bootstrap-table-ru-RU.js
  33. 1 1
      src/locale/bootstrap-table-sk-SK.js
  34. 1 1
      src/locale/bootstrap-table-sr-Cyrl-RS.js
  35. 1 1
      src/locale/bootstrap-table-sv-SE.js
  36. 1 1
      src/locale/bootstrap-table-th-TH.js
  37. 1 1
      src/locale/bootstrap-table-tr-TR.js
  38. 1 1
      src/locale/bootstrap-table-uk-UA.js
  39. 1 1
      src/locale/bootstrap-table-ur-PK.js
  40. 1 1
      src/locale/bootstrap-table-uz-Latn-UZ.js
  41. 1 1
      src/locale/bootstrap-table-vi-VN.js
  42. 1 1
      src/locale/bootstrap-table-zh-CN.js

+ 9 - 0
site/docs/api/localizations.md

@@ -38,6 +38,15 @@ $('#table').bootstrapTable({
 })
 {% endhighlight %}
 
+You can use short code for the locale:
+{% highlight javascript %}
+$('#table').bootstrapTable({
+  locale: 'en'
+})
+{% endhighlight %}
+
+List of all existing translations with their short codes is on [Github](https://github.com/wenzhixin/bootstrap-table/tree/develop/src/locale)
+
 You can custom the format localizations, the calling syntax:
 
 {% highlight javascript %}

+ 277 - 179
src/locale/README.md

@@ -1,179 +1,277 @@
-[List of All Locales and Their Short Codes](http://stackoverflow.com/questions/3191664/list-of-all-locales-and-their-short-codes)
-```
-af-ZA
-am-ET
-ar-AE
-ar-BH
-ar-DZ
-ar-EG
-ar-IQ
-ar-JO
-ar-KW
-ar-LB
-ar-LY
-ar-MA
-arn-CL
-ar-OM
-ar-QA
-ar-SY
-ar-TN
-ar-YE
-as-IN
-az-Cyrl-AZ
-az-Latn-AZ
-ba-RU
-be-BY
-bg-BG
-bn-BD
-bn-IN
-bo-CN
-br-FR
-bs-Cyrl-BA
-bs-Latn-BA
-ca-ES
-co-FR
-cy-GB
-de-AT
-de-CH
-de-LI
-de-LU
-dsb-DE
-dv-MV
-en-029
-en-AU
-en-BZ
-en-CA
-en-GB
-en-IE
-en-IN
-en-JM
-en-MY
-en-NZ
-en-PH
-en-SG
-en-TT
-en-ZA
-en-ZW
-es-BO
-es-CL
-es-CO
-es-DO
-es-EC
-es-ES
-es-GT
-es-HN
-es-PA
-es-PE
-es-PR
-es-PY
-es-SV
-es-US
-es-UY
-es-VE
-et-EE
-eu-ES
-fa-IR
-fi-FI
-fil-PH
-fo-FO
-fr-CA
-fr-CH
-fr-LU
-fr-MC
-fy-NL
-ga-IE
-gd-GB
-gl-ES
-gsw-FR
-gu-IN
-ha-Latn-NG
-he-IL
-hi-IN
-hr-BA
-hr-HR
-hsb-DE
-hy-AM
-id-ID
-ig-NG
-ii-CN
-is-IS
-it-CH
-iu-Cans-CA
-iu-Latn-CA
-kk-KZ
-kl-GL
-km-KH
-kn-IN
-kok-IN
-ky-KG
-lb-LU
-lo-LA
-lt-LT
-lv-LV
-mi-NZ
-mk-MK
-ml-IN
-mn-MN
-mn-Mong-CN
-moh-CA
-mr-IN
-ms-BN
-mt-MT
-ne-NP
-nl-BE
-nn-NO
-nso-ZA
-oc-FR
-or-IN
-pa-IN
-prs-AF
-ps-AF
-qut-GT
-quz-BO
-quz-EC
-quz-PE
-rm-CH
-rw-RW
-sah-RU
-sa-IN
-se-FI
-se-NO
-se-SE
-si-LK
-sl-SI
-sma-NO
-sma-SE
-smj-NO
-smj-SE
-smn-FI
-sms-FI
-sq-AL
-sr-Cyrl-BA
-sr-Cyrl-CS
-sr-Cyrl-ME
-sr-Cyrl-RS
-sr-Latn-BA
-sr-Latn-CS
-sr-Latn-ME
-sr-Latn-RS
-sv-FI
-sw-KE
-syr-SY
-ta-IN
-te-IN
-tg-Cyrl-TJ
-tk-TM
-tn-ZA
-tt-RU
-tzm-Latn-DZ
-ug-CN
-uz-Cyrl-UZ
-uz-Latn-UZ
-wo-SN
-xh-ZA
-yo-NG
-zh-HK
-zh-MO
-zh-SG
-zu-ZA
-```
+[List of All Locales and Their Short Codes](https://www.alchemysoftware.com/livedocs/ezscript/Topics/Catalyst/Language.htm)
+Table bellow is sorted ascending by language code. If case of add new translation, please remove missing from comment.
+
+| Language Name                                                  | Language Code  | short form | comment        |
+| -------------------------------------------------------------- | -------------- | ---------- | -------------- |
+| Afrikaans (South Africa)                                       | af-ZA          | af         |                |
+| Amharic (Ethiopia)                                             | am-ET          | am         | missing        |
+| Arabic (U.A.E.)                                                | ar-AE          |            | missing        |
+| Arabic (Bahrain)                                               | ar-BH          |            | missing        |
+| Arabic (Algeria)                                               | ar-DZ          |            | missing        |
+| Arabic (Egypt)                                                 | ar-EG          |            | missing        |
+| Arabic (Iraq)                                                  | ar-IQ          |            | missing        |
+| Arabic (Jordan)                                                | ar-JO          |            | missing        |
+| Arabic (Kuwait)                                                | ar-KW          |            | missing        |
+| Arabic (Lebanon)                                               | ar-LB          |            | missing        |
+| Arabic (Libya)                                                 | ar-LY          |            | missing        |
+| Arabic (Morocco)                                               | ar-MA          |            | missing        |
+| Mapudungun (Chile)                                             | arn-CL         |            | missing        |
+| Arabic (Oman)                                                  | ar-OM          |            | missing        |
+| Arabic (Qatar)                                                 | ar-QA          |            | missing        |
+| Arabic (Saudi Arabia)                                          | ar-SA          | ar         |                |
+| Arabic (Syria)                                                 | ar-SY          |            | missing        |
+| Arabic (Tunisia)                                               | ar-TN          |            | missing        |
+| Arabic (Yemen)                                                 | ar-YE          |            | missing        |
+| Assamese (India)                                               | as-IN          | as         | missing        |
+| Azerbaijani (Cyrillic)                                         | az-Cyrl        |            | missing        |
+| Azerbaijani (Cyrillic, Azerbaijan)                             | az-Cyrl-AZ     |            | missing        |
+| Azerbaijani (Latin)                                            | az-Latn        |            | missing        |
+| Azerbaijani (Latin, Azerbaijan)                                | az-Latn-AZ     | az         | missing        |
+| Bashkir (Russia)                                               | ba-RU          | ba         | missing        |
+| Belarusian (Belarus)                                           | be-BY          | be         | missing        |
+| Bulgarian (Bulgaria)                                           | bg-BG          | bg         |                |
+| Bangla (Bangladesh)                                            | bn-BD          | ba         | missing        |
+| Bangla (India)                                                 | bn-IN          |            | missing        |
+| Tibetan (People's Republic of China)                           | bo-CN          | bo         | missing        |
+| Breton (France)                                                | br-FR          | br         | missing        |
+| Bosnian (Cyrillic)                                             | bs-Cyrl        |            | missing        |
+| Bosnian (Cyrillic, Bosnia and Herzegovina)                     | bs-Cyrl-BA     |            | missing        |
+| Bosnian (Latin)                                                | bs-Latn        | bs         | missing        |
+| Bosnian (Latin, Bosnia and Herzegovina)                        | bs-Latn-BA     |            | missing        |
+| Catalan (Spain)                                                | ca-ES          | ca         |                |
+| Valencian (Spain)                                              | ca-ES-valencia |            | missing        |
+| Cherokee                                                       | chr-Cher       | chr        | missing        |
+| Cherokee (United States)                                       | chr-Cher-US    |            | missing        |
+| Corsican (France)                                              | co-FR          | co         | missing        |
+| Czech (Czech Republic)                                         | cs-CZ          | cs         |                |
+| Welsh (United Kingdom)                                         | cy-GB          | cy         | missing        |
+| Danish (Denmark)                                               | da-DK          | da         | missing        |
+| German (Austria)                                               | de-AT          |            | missing        |
+| German (Switzerland)                                           | de-CH          |            | missing        |
+| German (Germany)                                               | de-DE          | de         |                |
+| German (Liechtenstein)                                         | de-LI          |            | missing        |
+| German (Luxembourg)                                            | de-LU          |            | missing        |
+| Lower Sorbian (Germany)                                        | dsb-DE         | dsb        | missing        |
+| Divehi (Maldives)                                              | dv-MV          |            | missing        |
+| Dzongkha (Bhutan)                                              | dz-BT          |            | missing        |
+| Greek (Greece)                                                 | el-GR          |            | missing        |
+| English (Caribbean)                                            | en-029         |            | missing        |
+| English (Australia)                                            | en-AU          |            | missing        |
+| English (Belize)                                               | en-BZ          |            | missing        |
+| English (Canada)                                               | en-CA          |            | missing        |
+| English (United Kingdom)                                       | en-GB          |            | missing        |
+| English (Hong Kong)                                            | en-HK          |            | missing        |
+| English (Ireland)                                              | en-IE          |            | missing        |
+| English (India)                                                | en-IN          |            | missing        |
+| English (Jamaica)                                              | en-JM          |            | missing        |
+| English (Malaysia)                                             | en-MY          |            | missing        |
+| English (New Zealand)                                          | en-NZ          |            | missing        |
+| English (Republic of the Philippines)                          | en-PH          |            | missing        |
+| English (Singapore)                                            | en-SG          |            | missing        |
+| English (Trinidad and Tobago)                                  | en-TT          |            | missing        |
+| English (United States)                                        | en-US          | en         |                |
+| English (South Africa)                                         | en-ZA          |            | missing        |
+| English (Zimbabwe)                                             | en-ZW          |            | missing        |
+| Spanish (Latin America)                                        | es-419         |            | missing        |
+| Spanish (Argentina)                                            | es-AR          |            |                |
+| Spanish (Bolivia)                                              | es-BO          |            | missing        |
+| Spanish (Chile)                                                | es-CL          |            |                |
+| Spanish (Colombia)                                             | es-CO          |            | missing        |
+| Spanish (Costa Rica)                                           | es-CR          |            |                |
+| Spanish (Cuba)                                                 | es-CU          |            | missing        |
+| Spanish (Dominican Republic)                                   | es-DO          |            | missing        |
+| Spanish (Ecuador)                                              | es-EC          |            | missing        |
+| Spanish (Spain, International Sort)                            | es-ES          | es         |                |
+| Spanish (Guatemala)                                            | es-GT          |            | missing        |
+| Spanish (Honduras)                                             | es-HN          |            | missing        |
+| Spanish (Mexico)                                               | es-MX          |            |                |
+| Spanish (Nicaragua)                                            | es-NI          |            |                |
+| Spanish (Panama)                                               | es-PA          |            | missing        |
+| Spanish (Peru)                                                 | es-PE          |            | missing        |
+| Spanish (Puerto Rico)                                          | es-PR          |            | missing        |
+| Spanish (Paraguay)                                             | es-PY          |            | missing        |
+| Spanish (España)                                               | es-SP          |            | wrong iso code |
+| Spanish (El Salvador)                                          | es-SV          |            | missing        |
+| Spanish (United States)                                        | es-US          |            | missing        |
+| Spanish (Uruguay)                                              | es-UY          |            | missing        |
+| Spanish (Bolivarian Republic of Venezuela)                     | es-VE          |            | missing        |
+| Estonian (Estonia)                                             | et-EE          | et         |                |
+| Basque (Spain)                                                 | eu-ES          | eu         |                |
+| Persian (Iran)                                                 | fa-IR          | fa         |                |
+| Fulah (Latin)                                                  | ff-Latn        | ff         | missing        |
+| Fulah (Latin, Senegal)                                         | ff-Latn-SN     |            | missing        |
+| Finnish (Finland)                                              | fi-FI          | fi         |                |
+| Filipino (Philippines)                                         | fil-PH         | fil        | missing        |
+| Faroese (Faroe Islands)                                        | fo-FO          | fo         | missing        |
+| French (Belgium)                                               | fr-BE          |            |                |
+| French (Canada)                                                | fr-CA          |            | missing        |
+| French (Congo, DRC)                                            | fr-CD          |            | missing        |
+| French (Switzerland)                                           | fr-CH          |            |                |
+| French (Côte d’Ivoire)                                         | fr-CI          |            | missing        |
+| French (Cameroon)                                              | fr-CM          |            | missing        |
+| French (France)                                                | fr-FR          | fr         |                |
+| French (Haiti)                                                 | fr-HT          |            | missing        |
+| French (Luxembourg)                                            | fr-LU          |            |                |
+| French (Morocco)                                               | fr-MA          |            | missing        |
+| French (Principality of Monaco)                                | fr-MC          |            | missing        |
+| French (Mali)                                                  | fr-ML          |            | missing        |
+| French (Réunion)                                               | fr-RE          |            | missing        |
+| French (Senegal)                                               | fr-SN          |            | missing        |
+| Frisian (Netherlands)                                          | fy-NL          | fy         | missing        |
+| Irish (Ireland)                                                | ga-IE          | ga         | missing        |
+| Scottish Gaelic (United Kingdom)                               | gd-GB          |            | missing        |
+| Galician (Spain)                                               | gl-ES          | gl         | missing        |
+| Guarani (Paraguay)                                             | gn-PY          | gn         | missing        |
+| Alsatian (France)                                              | gsw-FR         | gsw        | missing        |
+| Gujarati (India)                                               | gu-IN          | gu         | missing        |
+| Hausa (Latin)                                                  | ha-Latn        | ha         | missing        |
+| Hausa (Latin, Nigeria)                                         | ha-Latn-NG     |            | missing        |
+| Hawaiian (United States)                                       | haw-US         | haw        | missing        |
+| Hebrew (Israel)                                                | he-IL          | he         |                |
+| Hindi (India)                                                  | hi-IN          | ho         | missing        |
+| Croatian (Latin, Bosnia and Herzegovina)                       | hr-BA          |            | missing        |
+| Croatian (Croatia)                                             | hr-HR          | hr         |                |
+| Upper Sorbian (Germany)                                        | hsb-DE         | hsb        | missing        |
+| Hungarian (Hungary)                                            | hu-HU          | hu         |                |
+| Armenian (Armenia)                                             | hy-AM          | hy         | missing        |
+| Indonesian (Indonesia)                                         | id-ID          | id         |                |
+| Igbo (Nigeria)                                                 | ig-NG          | ig         | missing        |
+| Yi (People's Republic of China)                                | ii-CN          | ii         | missing        |
+| Icelandic (Iceland)                                            | is-IS          | is         | missing        |
+| Italian (Switzerland)                                          | it-CH          |            | missing        |
+| Italian (Italy)                                                | it-IT          | it         |                |
+| Inuktitut (Syllabics)                                          | iu-Cans        |            | missing        |
+| Inuktitut (Syllabics, Canada)                                  | iu-Cans-CA     |            | missing        |
+| Inuktitut (Latin)                                              | iu-Latn        |            | missing        |
+| Inuktitut (Latin, Canada)                                      | iu-Latn-CA     |            | missing        |
+| Japanese (Japan)                                               | ja-JP          | ja         |                |
+| Georgian (Georgia)                                             | ka-GE          | ka         |                |
+| Kazakh (Kazakhstan)                                            | kk-KZ          | kk         | missing        |
+| Greenlandic (Greenland)                                        | kl-GL          | kl         | missing        |
+| Khmer (Cambodia)                                               | km-KH          | km         | missing        |
+| Kannada (India)                                                | kn-IN          | kn         | missing        |
+| Konkani (India)                                                | kok-IN         | kok        | missing        |
+| Korean (Korea)                                                 | ko-KR          | ko         |                |
+| Kashmiri (Perso-Arabic)                                        | ks-Arab        | ks         | missing        |
+| Central Kurdish                                                | ku-Arab        | ku         | missing        |
+| Central Kurdish (Iraq)                                         | ku-Arab-IQ     |            | missing        |
+| Kyrgyz (Kyrgyzstan)                                            | ky-KG          | ky         | missing        |
+| Luxembourgish (Luxembourg)                                     | lb-LU          | lb         | missing        |
+| Lao (Lao P.D.R.)                                               | lo-LA          | lo         | missing        |
+| Lithuanian (Lithuania)                                         | lt-LT          | lt         | missing        |
+| Latvian (Latvia)                                               | lv-LV          | lv         | missing        |
+| Maori (New Zealand)                                            | mi-NZ          | mi         | missing        |
+| Macedonian (Macedonia (Former Yugoslav Republic of Macedonia)) | mk-MK          | mk         | missing        |
+| Malayalam (India)                                              | ml-IN          | ml         | missing        |
+| Mongolian (Cyrillic)                                           | mn-Cyrl        | mn         | missing        |
+| Mongolian (Cyrillic, Mongolia)                                 | mn-MN          |            | missing        |
+| Mongolian (Traditional Mongolian)                              | mn-Mong        |            | missing        |
+| Mongolian (Traditional Mongolian, People's Republic of China)  | mn-Mong-CN     |            | missing        |
+| Mongolian (Traditional Mongolian, Mongolia)                    | mn-Mong-MN     |            | missing        |
+| Mohawk (Canada)                                                | moh-CA         | moh        | missing        |
+| Marathi (India)                                                | mr-IN          | mr         | missing        |
+| Malay (Brunei Darussalam)                                      | ms-BN          |            | missing        |
+| Malay (Malaysia)                                               | ms-MY          | ms         |                |
+| Maltese (Malta)                                                | mt-MT          | mt         | missing        |
+| Burmese (Myanmar)                                              | my-MM          | my         | missing        |
+| Norwegian, Bokmål (Norway)                                     | nb-NO          | nb         |                |
+| Nepali (India)                                                 | ne-IN          |            | missing        |
+| Nepali (Nepal)                                                 | ne-NP          | ne         | missing        |
+| Dutch (Belgium)                                                | nl-BE          |            |                |
+| Dutch (Netherlands)                                            | nl-NL          | nl         |                |
+| Norwegian, Nynorsk (Norway)                                    | nn-NO          | nn         | missing        |
+| Sesotho sa Leboa (South Africa)                                | nso-ZA         | nso        | missing        |
+| Occitan (France)                                               | oc-FR          | oc         | missing        |
+| Oromo (Ethiopia)                                               | om-ET          | om         | missing        |
+| Odia (India)                                                   | or-IN          | or         | missing        |
+| Punjabi                                                        | pa-Arab        |            | missing        |
+| Punjabi (Islamic Republic of Pakistan)                         | pa-Arab-PK     |            | missing        |
+| Punjabi (India)                                                | pa-IN          | pa         | missing        |
+| Polish (Poland)                                                | pl-PL          | pl         |                |
+| Dari (Afghanistan)                                             | prs-AF         | prs        | missing        |
+| Pashto (Afghanistan)                                           | ps-AF          | ps         | missing        |
+| Portuguese (Brazil)                                            | pt-BR          |            |                |
+| Portuguese (Portugal)                                          | pt-PT          | pt         |                |
+| K'iche (Latin, Guatemala)                                      | quc-Latn-GT    | quc        | missing        |
+| K'iche (Guatemala)                                             | qut-GT         | qut        | missing        |
+| Quechua (Bolivia)                                              | quz-BO         |            | missing        |
+| Quechua (Ecuador)                                              | quz-EC         |            | missing        |
+| Quechua (Peru)                                                 | quz-PE         | quz        | missing        |
+| Romansh (Switzerland)                                          | rm-CH          | rm         | missing        |
+| Romanian (Moldova)                                             | ro-MD          |            | missing        |
+| Romanian (Romania)                                             | ro-RO          | ro         |                |
+| Russian (Moldova)                                              | ru-MD          |            | missing        |
+| Russian (Russia)                                               | ru-RU          | ru         |                |
+| Kinyarwanda (Rwanda)                                           | rw-RW          | rw         | missing        |
+| Sakha (Russia)                                                 | sah-RU         | sah        | missing        |
+| Sanskrit (India)                                               | sa-IN          | sah        | missing        |
+| Sindhi                                                         | sd-Arab        | sd         | missing        |
+| Sindhi (Islamic Republic of Pakistan)                          | sd-Arab-PK     |            | missing        |
+| Sami, Northern (Finland)                                       | se-FI          | se         | missing        |
+| Sami, Northern (Norway)                                        | se-NO          |            | missing        |
+| Sami, Northern (Sweden)                                        | se-SE          |            | missing        |
+| Sinhala (Sri Lanka)                                            | si-LK          | si         | missing        |
+| Slovak (Slovakia)                                              | sk-SK          | sk         |                |
+| Slovenian (Slovenia)                                           | sl-SI          | sl         | missing        |
+| Sami, Southern (Norway)                                        | sma-NO         | sma        | missing        |
+| Sami, Southern (Sweden)                                        | sma-SE         |            | missing        |
+| Sami, Lule (Norway)                                            | smj-NO         | smj        | missing        |
+| Sami, Lule (Sweden)                                            | smj-SE         |            | missing        |
+| Sami, Inari (Finland)                                          | smn-FI         | smn        | missing        |
+| Sami, Skolt (Finland)                                          | sms-FI         | sms        | missing        |
+| Somali (Somalia)                                               | so-SO          | so         | missing        |
+| Albanian (Albania)                                             | sq-AL          | sq         | missing        |
+| Serbian (Cyrillic)                                             | sr-Cyrl        | sr         |                |
+| Serbian (Cyrillic, Bosnia and Herzegovina)                     | sr-Cyrl-BA     |            | missing        |
+| Serbian (Cyrillic, Serbia and Montenegro (Former))             | sr-Cyrl-CS     |            | missing        |
+| Serbian (Cyrillic, Montenegro)                                 | sr-Cyrl-ME     |            | missing        |
+| Serbian (Cyrillic, Serbia)                                     | sr-Cyrl-RS     |            | missing        |
+| Serbian (Latin)                                                | sr-Latn        |            |                |
+| Serbian (Latin, Bosnia and Herzegovina)                        | sr-Latn-BA     |            | missing        |
+| Serbian (Latin, Serbia and Montenegro (Former))                | sr-Latn-CS     |            | missing        |
+| Serbian (Latin, Montenegro)                                    | sr-Latn-ME     |            | missing        |
+| Serbian (Latin, Serbia)                                        | sr-Latn-RS     |            | missing        |
+| Sotho (South Africa)                                           | st-ZA          | st         | missing        |
+| Swedish (Finland)                                              | sv-FI          |            | missing        |
+| Swedish (Sweden)                                               | sv-SE          | sv         |                |
+| Kiswahili (Kenya)                                              | sw-KE          |            | missing        |
+| Syriac (Syria)                                                 | syr-SY         |            | missing        |
+| Tamil (India)                                                  | ta-IN          |            | missing        |
+| Tamil (Sri Lanka)                                              | ta-LK          | ta         | missing        |
+| Telugu (India)                                                 | te-IN          | te         | missing        |
+| Tajik (Cyrillic)                                               | tg-Cyrl        | tg         | missing        |
+| Tajik (Cyrillic, Tajikistan)                                   | tg-Cyrl-TJ     |            | missing        |
+| Thai (Thailand)                                                | th-TH          | th         |                |
+| Tigrinya (Eritrea)                                             | ti-ER          | ti         | missing        |
+| Tigrinya (Ethiopia)                                            | ti-ET          |            | missing        |
+| Turkmen (Turkmenistan)                                         | tk-TM          | tk         | missing        |
+| Setswana (Botswana)                                            | tn-BW          | tn         | missing        |
+| Setswana (South Africa)                                        | tn-ZA          |            | missing        |
+| Turkish (Turkey)                                               | tr-TR          | tr         |                |
+| Tsonga (South Africa)                                          | ts-ZA          | ts         | missing        |
+| Tatar (Russia)                                                 | tt-RU          | tt         | missing        |
+| Tamazight (Latin)                                              | tzm-Latn       | tzm        | missing        |
+| Tamazight (Latin, Algeria)                                     | tzm-Latn-DZ    |            | missing        |
+| Uyghur (People's Republic of China)                            | ug-CN          | ug         | missing        |
+| Ukrainian (Ukraine)                                            | uk-UA          | uk         |                |
+| Urdu (India)                                                   | ur-IN          |            | missing        |
+| Urdu (Islamic Republic of Pakistan)                            | ur-PK          | ur         |                |
+| Uzbek (Cyrillic)                                               | uz-Cyrl        |            | missing        |
+| Uzbek (Cyrillic, Uzbekistan)                                   | uz-Cyrl-UZ     |            | missing        |
+| Uzbek (Latin)                                                  | uz-Latn        |            | missing        |
+| Uzbek (Latin, Uzbekistan)                                      | uz-Latn-UZ     | uz         |                |
+| Venda (South Africa)                                           | ve-ZA          | ve         | missing        |
+| Vietnamese (Vietnam)                                           | vi-VN          | vi         |                |
+| Wolof (Senegal)                                                | wo-SN          | wo         | missing        |
+| Xhosa (South Africa)                                           | xh-ZA          | xh         | missing        |
+| Yoruba (Nigeria)                                               | yo-NG          | yo         | missing        |
+| Chinese (Simplified) (zh-CHS)                                  | zh-CHS         |            | missing        |
+| Chinese (Traditional) (zh-CHT)                                 | zh-CHT         |            | missing        |
+| Chinese (Simplified, People's Republic of China)               | zh-CN          | zh         |                |
+| Chinese (Simplified) (zh-Hans)                                 | zh-Hans        |            | missing        |
+| Chinese (Traditional) (zh-Hant)                                | zh-Hant        |            | missing        |
+| Chinese (Traditional, Hong Kong S.A.R.)                        | zh-HK          |            | missing        |
+| Chinese (Traditional, Macao S.A.R.)                            | zh-MO          |            | missing        |
+| Chinese (Simplified, Singapore)                                | zh-SG          |            | missing        |
+| Chinese (Traditional, Taiwan)                                  | zh-TW          |            |                |
+| Zulu (South Africa)                                            | zu-ZA          |            | missing        |

+ 1 - 1
src/locale/bootstrap-table-af-ZA.js

@@ -3,7 +3,7 @@
  * Author: Phillip Kruger <phillip.kruger@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['af-ZA'] = {
+$.fn.bootstrapTable.locales['af-ZA'] = $.fn.bootstrapTable.locales['af'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-ar-SA.js

@@ -3,7 +3,7 @@
  * Author: Zhixin Wen<wenzhixin2010@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['ar-SA'] = {
+$.fn.bootstrapTable.locales['ar-SA'] = $.fn.bootstrapTable.locales['ar'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-bg-BG.js

@@ -3,7 +3,7 @@
  * Author: Mikhail Kalatchev <kalatchev[at]gmail.com>
  */
 
-$.fn.bootstrapTable.locales['bg-BG'] = {
+$.fn.bootstrapTable.locales['bg-BG'] = $.fn.bootstrapTable.locales['bg'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-ca-ES.js

@@ -4,7 +4,7 @@
  *          Claudi Martinez<claudix.kernel@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['ca-ES'] = {
+$.fn.bootstrapTable.locales['ca-ES'] = $.fn.bootstrapTable.locales['ca'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-cs-CZ.js

@@ -4,7 +4,7 @@
  * Author: Jakub Svestka <svestka1999@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['cs-CZ'] = {
+$.fn.bootstrapTable.locales['cs-CZ'] = $.fn.bootstrapTable.locales['cs'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-da-DK.js

@@ -3,7 +3,7 @@
  * Author: Your Name Jan Borup Coyle, github@coyle.dk
  */
 
-$.fn.bootstrapTable.locales['da-DK'] = {
+$.fn.bootstrapTable.locales['da-DK'] = $.fn.bootstrapTable.locales['da'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-de-DE.js

@@ -3,7 +3,7 @@
 * Author: Paul Mohr - Sopamo<p.mohr@sopamo.de>
 */
 
-$.fn.bootstrapTable.locales['de-DE'] = {
+$.fn.bootstrapTable.locales['de-DE'] = $.fn.bootstrapTable.locales['de'] = {
   formatCopyRows () {
     return 'Zeilen kopieren'
   },

+ 1 - 1
src/locale/bootstrap-table-el-GR.js

@@ -3,7 +3,7 @@
  * Author: giannisdallas
  */
 
-$.fn.bootstrapTable.locales['el-GR'] = {
+$.fn.bootstrapTable.locales['el-GR'] = $.fn.bootstrapTable.locales['el'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-en-US.js

@@ -3,7 +3,7 @@
  * Author: Zhixin Wen<wenzhixin2010@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['en-US'] = {
+$.fn.bootstrapTable.locales['en-US'] = $.fn.bootstrapTable.locales['en'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-es-ES.js

@@ -3,7 +3,7 @@
  * Author: Marc Pina<iwalkalone69@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['es-ES'] = {
+$.fn.bootstrapTable.locales['es-ES'] = $.fn.bootstrapTable.locales['es'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-et-EE.js

@@ -3,7 +3,7 @@
  * Author: kristjan@logist.it>
  */
 
-$.fn.bootstrapTable.locales['et-EE'] = {
+$.fn.bootstrapTable.locales['et-EE'] = $.fn.bootstrapTable.locales['et'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-eu-EU.js

@@ -3,7 +3,7 @@
  * Author: Iker Ibarguren Berasaluze<ikerib@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['eu-EU'] = {
+$.fn.bootstrapTable.locales['eu-EU'] = $.fn.bootstrapTable.locales['eu'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-fa-IR.js

@@ -3,7 +3,7 @@
  * Author: MJ Vakili <mjv.1989@Gmail.com>
  */
 
-$.fn.bootstrapTable.locales['fa-IR'] = {
+$.fn.bootstrapTable.locales['fa-IR'] = $.fn.bootstrapTable.locales['fa'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-fi-FI.js

@@ -3,7 +3,7 @@
  * Author: Minna Lehtomäki <minna.j.lehtomaki@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['fi-FI'] = {
+$.fn.bootstrapTable.locales['fi-FI'] = $.fn.bootstrapTable.locales['fi'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-fr-FR.js

@@ -5,7 +5,7 @@
  *         Nevets82 <Nevets82@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['fr-FR'] = {
+$.fn.bootstrapTable.locales['fr-FR'] = $.fn.bootstrapTable.locales['fr'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-he-IL.js

@@ -3,7 +3,7 @@
  * Author: legshooter
  */
 
-$.fn.bootstrapTable.locales['he-IL'] = {
+$.fn.bootstrapTable.locales['he-IL'] = $.fn.bootstrapTable.locales['he'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-hr-HR.js

@@ -4,7 +4,7 @@
  * Author: Petra Štrbenac (petra.strbenac@gmail.com)
  */
 
-$.fn.bootstrapTable.locales['hr-HR'] = {
+$.fn.bootstrapTable.locales['hr-HR'] = $.fn.bootstrapTable.locales['hr'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-hu-HU.js

@@ -3,7 +3,7 @@
  * Author: Nagy Gergely <info@nagygergely.eu>
  */
 
-$.fn.bootstrapTable.locales['hu-HU'] = {
+$.fn.bootstrapTable.locales['hu-HU'] = $.fn.bootstrapTable.locales['hu'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-id-ID.js

@@ -3,7 +3,7 @@
  * Author: Andre Gardiner<andre@sirdre.com>
  */
 
-$.fn.bootstrapTable.locales['id-ID'] = {
+$.fn.bootstrapTable.locales['id-ID'] = $.fn.bootstrapTable.locales['id'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-it-IT.js

@@ -5,7 +5,7 @@
  * Author: Alessio Felicioni <alessio.felicioni@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['it-IT'] = {
+$.fn.bootstrapTable.locales['it-IT'] = $.fn.bootstrapTable.locales['it'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-ja-JP.js

@@ -3,7 +3,7 @@
  * Author: Azamshul Azizy <azamshul@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['ja-JP'] = {
+$.fn.bootstrapTable.locales['ja-JP'] = $.fn.bootstrapTable.locales['ja'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-ka-GE.js

@@ -3,7 +3,7 @@
  * Author: Levan Lotuashvili <l.lotuashvili@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['ka-GE'] = {
+$.fn.bootstrapTable.locales['ka-GE'] = $.fn.bootstrapTable.locales['ka'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-ko-KR.js

@@ -3,7 +3,7 @@
  * Author: Yi Tae-Hyeong (jsonobject@gmail.com)
  */
 
-$.fn.bootstrapTable.locales['ko-KR'] = {
+$.fn.bootstrapTable.locales['ko-KR'] = $.fn.bootstrapTable.locales['ko'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-ms-MY.js

@@ -3,7 +3,7 @@
  * Author: Azamshul Azizy <azamshul@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['ms-MY'] = {
+$.fn.bootstrapTable.locales['ms-MY'] = $.fn.bootstrapTable.locales['ms'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-nb-NO.js

@@ -3,7 +3,7 @@
  * Author: Jim Nordbø, jim@nordb.no
  */
 
-$.fn.bootstrapTable.locales['nb-NO'] = {
+$.fn.bootstrapTable.locales['nb-NO'] = $.fn.bootstrapTable.locales['nb'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-nl-NL.js

@@ -4,7 +4,7 @@
  *         Nevets82 <Nevets82@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['nl-NL'] = {
+$.fn.bootstrapTable.locales['nl-NL'] = $.fn.bootstrapTable.locales['nl'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 23 - 22
src/locale/bootstrap-table-pl-PL.js

@@ -1,11 +1,12 @@
 /**
  * Bootstrap Table Polish translation
  * Author: zergu <michal.zagdan @ gmail com>
+ * Update: kerogos <kerog @ wp pl>
  */
 
-$.fn.bootstrapTable.locales['pl-PL'] = {
+$.fn.bootstrapTable.locales['pl-PL'] = $.fn.bootstrapTable.locales['pl'] = {
   formatCopyRows () {
-    return 'Copy Rows'
+    return 'Kopiuj wiersze'
   },
   formatPrint () {
     return 'Print'
@@ -24,19 +25,19 @@ $.fn.bootstrapTable.locales['pl-PL'] = {
     return `Wyświetlanie rekordów od ${pageFrom} do ${pageTo} z ${totalRows}`
   },
   formatSRPaginationPreText () {
-    return 'previous page'
+    return 'poprzednia strona'
   },
   formatSRPaginationPageText (page) {
-    return `to page ${page}`
+    return `z ${page}`
   },
   formatSRPaginationNextText () {
-    return 'next page'
+    return 'następna strona'
   },
   formatDetailPagination (totalRows) {
-    return `Showing ${totalRows} rows`
+    return `Wyświetla ${totalRows} wierszy`
   },
   formatClearSearch () {
-    return 'Clear Search'
+    return 'Wyczyść wyszukiwanie'
   },
   formatSearch () {
     return 'Szukaj'
@@ -45,13 +46,13 @@ $.fn.bootstrapTable.locales['pl-PL'] = {
     return 'Niestety, nic nie znaleziono'
   },
   formatPaginationSwitch () {
-    return 'Hide/Show pagination'
+    return 'Pokaż/ukryj stronicowanie'
   },
   formatPaginationSwitchDown () {
-    return 'Show pagination'
+    return 'Pokaż stronicowanie'
   },
   formatPaginationSwitchUp () {
-    return 'Hide pagination'
+    return 'Ukryj stronicowanie'
   },
   formatRefresh () {
     return 'Odśwież'
@@ -60,46 +61,46 @@ $.fn.bootstrapTable.locales['pl-PL'] = {
     return 'Przełącz'
   },
   formatToggleOn () {
-    return 'Show card view'
+    return 'Pokaż układ karty'
   },
   formatToggleOff () {
-    return 'Hide card view'
+    return 'Ukryj układ karty'
   },
   formatColumns () {
     return 'Kolumny'
   },
   formatColumnsToggleAll () {
-    return 'Toggle all'
+    return 'Zaznacz wszystko'
   },
   formatFullscreen () {
     return 'Fullscreen'
   },
   formatAllRows () {
-    return 'All'
+    return 'Wszystkie'
   },
   formatAutoRefresh () {
-    return 'Auto Refresh'
+    return 'Auto odświeżanie'
   },
   formatExport () {
-    return 'Export data'
+    return 'Eksport danych'
   },
   formatJumpTo () {
-    return 'GO'
+    return 'Przejdź'
   },
   formatAdvancedSearch () {
-    return 'Advanced search'
+    return 'Wyszukiwanie zaawansowane'
   },
   formatAdvancedCloseButton () {
-    return 'Close'
+    return 'Zamknij'
   },
   formatFilterControlSwitch () {
-    return 'Hide/Show controls'
+    return 'Pokaż/Ukryj'
   },
   formatFilterControlSwitchHide () {
-    return 'Hide controls'
+    return 'Pokaż'
   },
   formatFilterControlSwitchShow () {
-    return 'Show controls'
+    return 'Ukryj'
   }
 }
 

+ 1 - 1
src/locale/bootstrap-table-pt-PT.js

@@ -3,7 +3,7 @@
  * Author: Burnspirit<burnspirit@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['pt-PT'] = {
+$.fn.bootstrapTable.locales['pt-PT'] = $.fn.bootstrapTable.locales['pt'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-ro-RO.js

@@ -3,7 +3,7 @@
  * Author: cristake <cristianiosif@me.com>
  */
 
-$.fn.bootstrapTable.locales['ro-RO'] = {
+$.fn.bootstrapTable.locales['ro-RO'] = $.fn.bootstrapTable.locales['ro'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-ru-RU.js

@@ -3,7 +3,7 @@
  * Author: Dunaevsky Maxim <dunmaksim@yandex.ru>
  */
 
-$.fn.bootstrapTable.locales['ru-RU'] = {
+$.fn.bootstrapTable.locales['ru-RU'] = $.fn.bootstrapTable.locales['ru'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-sk-SK.js

@@ -3,7 +3,7 @@
  * Author: Jozef Dúc<jozef.d13@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['sk-SK'] = {
+$.fn.bootstrapTable.locales['sk-SK'] = $.fn.bootstrapTable.locales['sk'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-sr-Cyrl-RS.js

@@ -3,7 +3,7 @@
  * Author: Vladimir Kanazir (vladimir@kanazir.com)
  */
 
-$.fn.bootstrapTable.locales['sr-Cyrl-RS'] = {
+$.fn.bootstrapTable.locales['sr-Cyrl-RS'] = $.fn.bootstrapTable.locales['sr'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-sv-SE.js

@@ -3,7 +3,7 @@
  * Author: C Bratt <bratt@inix.se>
  */
 
-$.fn.bootstrapTable.locales['sv-SE'] = {
+$.fn.bootstrapTable.locales['sv-SE'] = $.fn.bootstrapTable.locales['sv'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-th-TH.js

@@ -3,7 +3,7 @@
  * Author: Monchai S.<monchais@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['th-TH'] = {
+$.fn.bootstrapTable.locales['th-TH'] = $.fn.bootstrapTable.locales['th'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-tr-TR.js

@@ -4,7 +4,7 @@
  * Author: Sercan Cakir <srcnckr@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['tr-TR'] = {
+$.fn.bootstrapTable.locales['tr-TR'] = $.fn.bootstrapTable.locales['tr'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-uk-UA.js

@@ -3,7 +3,7 @@
  * Author: Vitaliy Timchenko <vitaliy.timchenko@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['uk-UA'] = {
+$.fn.bootstrapTable.locales['uk-UA'] = $.fn.bootstrapTable.locales['uk'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-ur-PK.js

@@ -3,7 +3,7 @@
  * Author: Malik <me@malikrizwan.com>
  */
 
-$.fn.bootstrapTable.locales['ur-PK'] = {
+$.fn.bootstrapTable.locales['ur-PK'] = $.fn.bootstrapTable.locales['ur'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-uz-Latn-UZ.js

@@ -3,7 +3,7 @@
  * Author: Nabijon Masharipov <mnabijonz@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['uz-Latn-UZ'] = {
+$.fn.bootstrapTable.locales['uz-Latn-UZ'] = $.fn.bootstrapTable.locales['uz'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-vi-VN.js

@@ -3,7 +3,7 @@
  * Author: Duc N. PHAM <pngduc@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['vi-VN'] = {
+$.fn.bootstrapTable.locales['vi-VN'] = $.fn.bootstrapTable.locales['vi'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },

+ 1 - 1
src/locale/bootstrap-table-zh-CN.js

@@ -3,7 +3,7 @@
  * Author: Zhixin Wen<wenzhixin2010@gmail.com>
  */
 
-$.fn.bootstrapTable.locales['zh-CN'] = {
+$.fn.bootstrapTable.locales['zh-CN'] = $.fn.bootstrapTable.locales['zh'] = {
   formatCopyRows () {
     return 'Copy Rows'
   },