Hinzufügen von de-CH in WPML

User
How to select de-ch in wpml
Assistant
To select the **Swiss German (de-CH)** locale in WPML (WordPress Multilingual Plugin), follow these steps:

### 1. **Check WPML Installed Languages**
– Go to **WPML > Languages** in your WordPress dashboard.
– Scroll down to the **Site Languages** section.

### 2. **Add de-CH (Swiss German)**
– Click on **Edit Languages** at the bottom of the "Site Languages" section.
– If **de-CH (Swiss German)** is not listed:
1. Scroll to the bottom of the **Custom Languages** section.
2. Add a new language with the following details:
– **Language name**: Swiss German
– **Language code**: de-ch
– **Default locale**: de_CH
– **Flag URL**: Upload or choose a relevant flag image.
3. Save your changes.

### 3. **Enable Swiss German**
– Go back to the **Languages** tab.
– Click **Add Language** and select **Swiss German (de-CH)** if it's now available.
– Save your changes.

### 4. **Assign Swiss German to Content**
– When editing a page, post, or menu, you can now select **de-CH** from the WPML language switcher.
– Ensure your theme or custom logic supports the specific locale by checking `get_locale()` or `ICL_LANGUAGE_CODE` if needed.

### 5. **Update Strings for de-CH**
– Go to **WPML > String Translation**.
– Filter by language and add translations specifically for Swiss German.

By following these steps, you can enable and manage content in **Swiss German (de-CH)** with WPML. Let me know if you need more guidance!

Leave a Comment

Your email address will not be published. Required fields are marked *