# WPML plugin

## 1. Add Language Switchers

<figure><img src="https://3192842155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCGEvkIGZQql1dvbXwu25%2Fuploads%2FV9Icz8Y0oRnhQ15TEG64%2FCustom_language_switcher.png?alt=media&#x26;token=8bd8bc80-4102-433b-b0a2-38d42a9085af" alt=""><figcaption></figcaption></figure>

To add Language Switchers like on Minimog demo to Topbar or Header, follow these steps:

**Step 1:** Go to WPML > Languages > Enable Custom language switchers

<figure><img src="https://3192842155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCGEvkIGZQql1dvbXwu25%2Fuploads%2FyzuDSfDmZqJzDUbX0Qv2%2FCustom_language_switcher_1.png?alt=media&#x26;token=75698c68-0f4b-451d-a00f-6ae1a88527b3" alt=""><figcaption></figcaption></figure>

**Step 2:** Edit Custom Language Switcher > Save

<figure><img src="https://3192842155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCGEvkIGZQql1dvbXwu25%2Fuploads%2F1A3XYkVRZCzQcrQ7OwZy%2FCustom_language_switcher_2.png?alt=media&#x26;token=9f931651-74bf-438d-9219-ef2d5c2818dc" alt=""><figcaption></figcaption></figure>

\=======================================================================

## 2. String Translation

To translate Text in Theme Options (Example: Topbar Text, Header Text...) using WPML, follow these steps:

**Step 1:** Go to WPML > String Translation > Scroll to the bottom > Select Translate texts in admin screens

<figure><img src="https://3192842155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCGEvkIGZQql1dvbXwu25%2Fuploads%2F5DOMkGtlzrxAD1WyZ57L%2F1.png?alt=media&#x26;token=78b1560a-72d3-4ea5-bbf3-93c27e1e4f7d" alt=""><figcaption></figcaption></figure>

**Step 2:** Find the text to be translated in the Search box > Check the found Text and click the Add to String Transition button

<figure><img src="https://3192842155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCGEvkIGZQql1dvbXwu25%2Fuploads%2FuGhcV0n7hfa42RqEn4iD%2F2.png?alt=media&#x26;token=63134448-c1c2-4c41-a007-6d26b5bdeb6d" alt=""><figcaption></figcaption></figure>

**Step 3:** Go back to WPML > String Translation, now the added Text is already in the String Translation list and you can translate it.

<figure><img src="https://3192842155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCGEvkIGZQql1dvbXwu25%2Fuploads%2FCIobUpTwidyolEpnJMRZ%2F3.png?alt=media&#x26;token=105fb369-e55e-4a0b-94f8-2199f6db61cc" alt=""><figcaption></figcaption></figure>

WPML documentation: <https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page>
