Dies ist das technische Support-Forum für WPML - das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team beantwortet Anfragen im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

This thread is resolved. Here is a description of the problem and solution.

Problem: on a website, where one of the user groups are handicaped persons and people with mental disadvantage. Therefore we want to build the page in two languages 1) regular German 2) Very easy German

Now as far as I know the languages in WPML are pre-defined. So is there a way to add this "very easy German" as a language?

Solution: https://wpml.org/de/forums/topic/i-would-like-to-upload-a-custom-language/#post-4623817

This topic contains 2 Antworten, has 2 Teilnehmer.

Last updated by raphaelG-6 vor 2 Wochen, 6 Tage.

Assigned support staff: Riffaz.

Author Artikel
September 23, 2019 um 12:22 pm #4623703

raphaelG-6

Hey
We are working on a website, where one of the user groups are handicaped persons and people with mental disadvantage. Therefore we want to build the page in two languages
1) regular German
2) Very easy German

Now as far as I know the languages in WPML are pre-defined. So is there a way to add this "very easy German" as a language?

Thanks for your help.

September 23, 2019 um 12:28 pm #4623817

Riffaz
Supporter

Languages: Englisch (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Thank you for contacting WPML support.

'Add custom language' is the best way and user-friendly.

You can add it from WPML > languages > Site Languages > Edit Languages : hidden link Now click on "Add Language" button : hidden link

Fill the generated row as:

Code: a unique value that identifies the language. Once entered, the language code cannot be changed.

Translations: the way the language name will be displayed in different languages.

Flag :the flag to display next to the language (optional). You can either upload your own flag or use one of WPML's built-in flag images.

Default locale: This determines the locale value for this language. You should check the name of WordPress localization file to set this correctly.

Encode URLs : yes/no, determines if URLs in this language are encoded or use ASCII characters (leave ‘no’ if you are not sure).

hreflang : the code Google expects for this language. The hreflang should contain at least the language code (usually, made of two letters), or, if you want to specify the country/region, it should be the same information as the locale name, but in a slightly different format. If the locale for Canadian French is fr_CA, the corresponding hreflang would be fr-ca. Instead of an underscore, use a dash (-) and all letters should be lowercase.

Example For Australian English :

name = Your choice code = en-au hreflang = en-AU (since this is only for English users who are from Australia) locale = en_AU flag = Your own graphic

Please refer:
1. A complete list of Locale Code: hidden link
2. How to create / decide 'hreflang' : https://wpml.org/documentation/support/adding-hreflang-wordpress/#how-wpml-creates-hreflang-tags (important)

A quick video : hidden link

Hopefully, this will help you.

Regards,
Riffaz.

September 24, 2019 um 2:20 pm #4632389

raphaelG-6

My issue is resolved now. Thank you!