Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 3 replies, has 2 voices.

Last updated by alexiaS-2 2 years, 4 months ago.

Assigned support staff: Raja Mohammed.

Author Posts
July 3, 2019 at 6:55 am #4132455


Tell us what you are trying to do? I have Language Switcher Menu with multiple countries on it. For Malaysia uniquely, I would like to translate the blogs in both english and malay. How can I do this?

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site? hidden link

July 3, 2019 at 9:18 am #4133847

Raja Mohammed

Languages: English (English )

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

Hi there,

I will be assisting in resolving your issue.

The issue can be solved by creating a custom language.

Please refer to the documentation for a detailed explanation

Below are the quick steps.
- Go to WPML->Languages and click on the ‘Edit languages’ link.
- Click on the ‘Add languages’ button below the list of Languages to add your custom language.
- Add the Language name as Malaysia (English)
- Language code should be unique eg: my-en
- The default locale and hreflang should be "en-ms" which is the iso code for Malaysia English
- Save the language, The new language will be available for translation

I hope this helps you better, let me know if you need further assistance.

Kind regards

July 10, 2019 at 4:58 pm #4183055


Hi Raja,
I followed your steps and its added here: hidden link

But the problem is, I only want to offer the translation link for Malaysia (English) on the Malaysia page. Each country page has unique content on it.

Can you walk me through this?

September 2, 2019 at 5:36 pm #4499431


Hello, I still did not receive any support on this. To reexplain my challenge, I have a country that needs 2 translations in one Malaysia subdomain: english + malay

So I want the articles in Malaysia to be able to translate in english + malay: hidden link

Please advise.