Languages
| Name | Value |
|---|---|
| LANGUAGES_ENABLED | If disabled the change language button will be hidden from the header. Default: true |
| LANGUAGES_DEFAULT | This is the default language the site will display in unless a user has set an override. Default: en-GB |
Adding/Updating Languages#
Pull Requests
Please note that development is not performed on GitHub. The GitHub repository is in a push-sync configuration from a privately hosted Git server in-house. This means pull requests will not be merged but rather manually copied to the in-house repository. You should not expect your username to appear in the contributions of this project as those types of details are lost in the process.
To add/update languages, you can raise a pull request on the GitHub repository. You will need to add/update the files under the following paths:
- /WeddingShare/Resources/Lang
- /WeddingShare/wwwroot/js/lang
For example, if you wanted to modify Italian you would update the /WeddingShare/Resources/Lang/Translations.it-IT.resx and /WeddingShare/wwwroot/js/lang/it-IT.js files.
Supported Cultures#
LibreTranslate
Please note that this application is developed in English (en-GB) and a large portion of the translations are automatically generated using a tool called LibreTranslate. With that being said some of the translations may not be 100% accurate. If you notice any issues with translations please do report them as an issue ticket over on GitHub.
| Name | Code |
|---|---|
| Albanian | sq |
| Albanian (Albania) | sq-AL |
| Albanian (Kosovo) | sq-XK |
| Albanian (North Macedonia) | sq-MK |
| Arabic | ar |
| Arabic (Algeria) | ar-DZ |
| Arabic (Bahrain) | ar-BH |
| Arabic (Chad) | ar-TD |
| Arabic (Comoros) | ar-KM |
| Arabic (Djibouti) | ar-DJ |
| Arabic (Egypt) | ar-EG |
| Arabic (Eritrea) | ar-ER |
| Arabic (Iraq) | ar-IQ |
| Arabic (Israel) | ar-IL |
| Arabic (Jordan) | ar-JO |
| Arabic (Kuwait) | ar-KW |
| Arabic (Lebanon) | ar-LB |
| Arabic (Libya) | ar-LY |
| Arabic (Mauritania) | ar-MR |
| Arabic (Morocco) | ar-MA |
| Arabic (Oman) | ar-OM |
| Arabic (Palestinian Authority) | ar-PS |
| Arabic (Qatar) | ar-QA |
| Arabic (Saudi Arabia) | ar-SA |
| Arabic (Somalia) | ar-SO |
| Arabic (South Sudan) | ar-SS |
| Arabic (Sudan) | ar-SD |
| Arabic (Syria) | ar-SY |
| Arabic (Tunisia) | ar-TN |
| Arabic (United Arab Emirates) | ar-AE |
| Arabic (World) | ar-001 |
| Arabic (Yemen) | ar-YE |
| Azerbaijani | az |
| Azerbaijani (Cyrillic, Azerbaijan) | az-Cyrl-AZ |
| Azerbaijani (Cyrillic) | az-Cyrl |
| Azerbaijani (Latin, Azerbaijan) | az-Latn-AZ |
| Azerbaijani (Latin) | az-Latn |
| Bangla | bn |
| Bangla (Bangladesh) | bn-BD |
| Bangla (India) | bn-IN |
| Basque | eu |
| Basque (Spain) | eu-ES |
| Bulgarian | bg |
| Bulgarian (Bulgaria) | bg-BG |
| Catalan | ca |
| Catalan (Andorra) | ca-AD |
| Catalan (France) | ca-FR |
| Catalan (Italy) | ca-IT |
| Catalan (Spain) | ca-ES |
| Chinese | zh |
| Chinese (Simplified, China) | zh-Hans-CN |
| Chinese (Simplified, Hong Kong SAR) | zh-Hans-HK |
| Chinese (Simplified, Macao SAR) | zh-Hans-MO |
| Chinese (Simplified, Singapore) | zh-Hans-SG |
| Chinese (Simplified) | zh-Hans |
| Chinese (Traditional, Hong Kong SAR) | zh-Hant-HK |
| Chinese (Traditional, Macao SAR) | zh-Hant-MO |
| Chinese (Traditional, Taiwan) | zh-Hant-TW |
| Chinese (Traditional) | zh-Hant |
| Czech | cs |
| Czech (Czechia) | cs-CZ |
| Danish | da |
| Danish (Denmark) | da-DK |
| Danish (Greenland) | da-GL |
| Dutch | nl |
| Dutch (Aruba) | nl-AW |
| Dutch (Belgium) | nl-BE |
| Dutch (Bonaire, Sint Eustatius and Saba) | nl-BQ |
| Dutch (Curacao) | nl-CW |
| Dutch (Netherlands) | nl-NL |
| Dutch (Sint Maarten) | nl-SX |
| Dutch (Suriname) | nl-SR |
| English | en |
| English (United Kingdom) | en-GB |
| Esperanto | eo |
| Esperanto (World) | eo-001 |
| Estonian | et |
| Estonian (Estonia) | et-EE |
| Finnish | fi |
| Finnish (Finland) | fi-FI |
| French | fr |
| French (Algeria) | fr-DZ |
| French (Belgium) | fr-BE |
| French (Benin) | fr-BJ |
| French (Burkina Faso) | fr-BF |
| French (Burundi) | fr-BI |
| French (Cameroon) | fr-CM |
| French (Canada) | fr-CA |
| French (Caribbean) | fr-029 |
| French (Central African Republic) | fr-CF |
| French (Chad) | fr-TD |
| French (Comoros) | fr-KM |
| French (Congo [DRC]) | fr-CD |
| French (Congo) | fr-CG |
| French (Cote d'Ivoire) | fr-CI |
| French (Djibouti) | fr-DJ |
| French (Equatorial Guinea) | fr-GQ |
| French (France) | fr-FR |
| French (French Guiana) | fr-GF |
| French (French Polynesia) | fr-PF |
| French (Gabon) | fr-GA |
| French (Guadeloupe) | fr-GP |
| French (Guinea) | fr-GN |
| French (Haiti) | fr-HT |
| French (Luxembourg) | fr-LU |
| French (Madagascar) | fr-MG |
| French (Mali) | fr-ML |
| French (Martinique) | fr-MQ |
| French (Mauritania) | fr-MR |
| French (Mauritius) | fr-MU |
| French (Mayotte) | fr-YT |
| French (Monaco) | fr-MC |
| French (Morocco) | fr-MA |
| French (New Caledonia) | fr-NC |
| French (Niger) | fr-NE |
| French (Reunion) | fr-RE |
| French (Rwanda) | fr-RW |
| French (Senegal) | fr-SN |
| French (Seychelles) | fr-SC |
| French (St. Barthelemy) | fr-BL |
| French (St. Martin) | fr-MF |
| French (St. Pierre & Miquelon) | fr-PM |
| French (Switzerland) | fr-CH |
| French (Syria) | fr-SY |
| French (Togo) | fr-TG |
| French (Tunisia) | fr-TN |
| French (Vanuatu) | fr-VU |
| French (Wallis & Futuna) | fr-WF |
| Galician | gl |
| Galician (Spain) | gl-ES |
| German | de |
| German (Austria) | de-AT |
| German (Belgium) | de-BE |
| German (Germany) | de-DE |
| German (Italy) | de-IT |
| German (Liechtenstein) | de-LI |
| German (Luxembourg) | de-LU |
| German (Switzerland) | de-CH |
| Greek | el |
| Greek (Cyprus) | el-CY |
| Greek (Greece) | el-GR |
| Hebrew | he |
| Hebrew (Israel) | he-IL |
| Hindi | hi |
| Hindi (India) | hi-IN |
| Hungarian | hu |
| Hungarian (Hungary) | hu-HU |
| Indonesian | id |
| Indonesian (Indonesia) | id-ID |
| Irish | ga |
| Irish (Ireland) | ga-IE |
| Irish (United Kingdom) | ga-GB |
| Italian | it |
| Italian (Italy) | it-IT |
| Italian (San Marino) | it-SM |
| Italian (Switzerland) | it-CH |
| Italian (Vatican City) | it-VA |
| Japanese | ja |
| Japanese (Japan) | ja-JP |
| Korean | ko |
| Korean (Korea) | ko-KR |
| Korean (North Korea) | ko-KP |
| Latvian | lv |
| Latvian (Latvia) | lv-LV |
| Lithuanian | lt |
| Lithuanian (Lithuania) | lt-LT |
| Malay | ms |
| Malay (Brunei) | ms-BN |
| Malay (Indonesia) | ms-ID |
| Malay (Malaysia) | ms-MY |
| Malay (Singapore) | ms-SG |
| Norwegian Bokmal | nb |
| Norwegian Bokmal (Norway) | nb-NO |
| Norwegian Bokmal (Svalbard & Jan Mayen) | nb-SJ |
| Persian | fa |
| Persian (Afghanistan) | fa-AF |
| Persian (Iran) | fa-IR |
| Polish | pl |
| Polish (Poland) | pl-PL |
| Portuguese | pt |
| Portuguese (Angola) | pt-AO |
| Portuguese (Brazil) | pt-BR |
| Portuguese (Cabo Verde) | pt-CV |
| Portuguese (Equatorial Guinea) | pt-GQ |
| Portuguese (Guinea-Bissau) | pt-GW |
| Portuguese (Luxembourg) | pt-LU |
| Portuguese (Macao SAR) | pt-MO |
| Portuguese (Mozambique) | pt-MZ |
| Portuguese (Portugal) | pt-PT |
| Portuguese (Sao Tome & Principe) | pt-ST |
| Portuguese (Switzerland) | pt-CH |
| Portuguese (Timor-Leste) | pt-TL |
| Romanian | ro |
| Romanian (Moldova) | ro-MD |
| Romanian (Romania) | ro-RO |
| Slovak | sk |
| Slovak (Slovakia) | sk-SK |
| Slovenian | sl |
| Slovenian (Slovenia) | sl-SI |
| Spanish | es |
| Spanish (Argentina) | es-AR |
| Spanish (Belize) | es-BZ |
| Spanish (Bolivia) | es-BO |
| Spanish (Brazil) | es-BR |
| Spanish (Chile) | es-CL |
| Spanish (Colombia) | es-CO |
| Spanish (Costa Rica) | es-CR |
| Spanish (Cuba) | es-CU |
| Spanish (Dominican Republic) | es-DO |
| Spanish (Ecuador) | es-EC |
| Spanish (El Salvador) | es-SV |
| Spanish (Equatorial Guinea) | es-GQ |
| Spanish (Guatemala) | es-GT |
| Spanish (Honduras) | es-HN |
| Spanish (Latin America) | es-419 |
| Spanish (Mexico) | es-MX |
| Spanish (Nicaragua) | es-NI |
| Spanish (Panama) | es-PA |
| Spanish (Paraguay) | es-PY |
| Spanish (Peru) | es-PE |
| Spanish (Philippines) | es-PH |
| Spanish (Puerto Rico) | es-PR |
| Spanish (Spain) | es-ES |
| Spanish (United States) | es-US |
| Spanish (Uruguay) | es-UY |
| Spanish (Venezuela) | es-VE |
| Swedish | sv |
| Swedish (Aland Islands) | sv-AX |
| Swedish (Finland) | sv-FI |
| Swedish (Sweden) | sv-SE |
| Tagalog | tl |
| Thai | th |
| Thai (Thailand) | th-TH |
| Turkish | tr |
| Turkish (Cyprus) | tr-CY |
| Turkish (Turkey) | tr-TR |
| Ukrainian | uk |
| Ukrainian (Ukraine) | uk-UA |
| Urdu | ur |
| Urdu (India) | ur-IN |
| Urdu (Pakistan) | ur-PK |
| zt | zt |