Skip to content Skip to sidebar

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

Problem:
The client is unable to add a custom language to their WordPress site using the WPML plugin. They are looking for a way to enable custom languages manually.
Solution:
We recommend manually adding the languages to the database. Here are the steps to follow:

INSERT INTO `wp_icl_languages` (`code`, `english_name`, `major`, `active`,  `default_locale`, `tag`, `encode_url`, `country`) VALUES ('es-pe2', 'English Name', '1', '0', 'es_PE', 'es-pe2', '0', NULL);

INSERT INTO `wp_icl_languages_translations` (`language_code`,  `display_language_code`, `name`) VALUES ('es-pe2', 'en', 'English name'), ('es-pe2', 'es-pe2', 'English name');

INSERT INTO `wp_icl_locale_map` (`code`, `locale`) VALUES ('es-pe2', 'es_pe');

INSERT INTO `wp_icl_flags` (`lang_code`, `flag`, `from_template`) VALUES ('es-pe2', 'es-pe2.png', '0');

Please replace 'es-pe2', 'es_PE', 'es_pe', and 'English Name' with your desired language code, locale, and language title. Ensure you have a backup before proceeding as this is a delicate process.
If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.

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.

Tagged: 

This topic contains 36 replies, has 0 voices.

Last updated by Lucas Vidal de Andrade 4 months, 3 weeks ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
December 2, 2025 at 10:06 am #17625446

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: Europe/Vienna (GMT+02:00)

Hey there,

I've received all the access needed, thanks. Ok, so I logged on the website, and the languages were already there - perhaps something worked along the way. In the end, I made no changes at all on it. Check the image.

You can go to WPML > Languages > Add/Remove Languages and activate them.

Please note that you can change the display name of the language, on the "Translation" column, when editing a language. Can you please confirm if they're working as expected?

Languages _ BrokerCheck _ WordPress.jpeg
December 2, 2025 at 2:15 pm #17626808
florianF-18

Thank you so much, Problem solved.. We have added a total of thirty languages ​​for the entire website and I want to automatically translate the entire website into these target languages. Can you please check and let me know how much credit I have in my account to translate the website? I think the number of credits here is very low.And why is the number of credits so low here and if we want to automatically translate the entire website into these 30 languages, do we have to buy credits again and if so, how much?

New threads created by Lucas Vidal de Andrade and linked to this one are listed below:

https://wpml.org/forums/topic/split-credits-estimate/

December 2, 2025 at 2:32 pm #17626971
florianF-18

Language slug is needed after our website URL. Can we add custom languages ​​and what do we need to do this?

We need such URLs for different languages:
Deutschland – brokercheck.de
Schweiz – brokercheck.ch
Österreich – brokercheck.at
European Union – brokercheck.eu
Italia – brokercheck.it
France – brokercheck.fr
Россия – brokercheck.ru
Česká Republika – brokercheck.cz
Polska – brokercheck.pl
Portugal – brokercheck.pt
España – brokercheck.es
Ελλάδα – brokercheck.gr
Norge – brokercheck.no
Sverige – brokercheck.com.se
Danmark – brokercheck.dk
Nederland – brokercheck.co.nl
BrokerCheck – brokercheck.co
South Africa – brokercheck.co.za
Việt Nam – brokercheck.com.vn
Pilipinas – brokercheck.com.ph
شبه الجزيرة العربية – brokercheck.ae
भारत (India) – brokercheck.co.in
中國 (China) – brokercheck.cn
Indonesia – brokercheck.id
Brasil – brokercheck.com.br
Venezuela – brokercheck.co.ve
México – brokercheck.com.mx
Peru – brokercheck.com.pe
Chile – brokercheck.cl
Argentinia – brokercheck.com.ar

New threads created by Lucas Vidal de Andrade and linked to this one are listed below:

https://wpml.org/forums/topic/split-multidomain-questions/

Languages-‹-BrokerCheck-—-WordPress-12-02-2025_08_28_PM.png
December 2, 2025 at 4:01 pm #17627620

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: Europe/Vienna (GMT+02:00)

Hey there,

I'm glad I was able to help, and I apologize it look a lot of back and forth to fix it. The issue is indeed complex, and is being caused by something external we still couldn't fully identify. Please let us know if you wish us to keep looking for a permanent fix for it.

Regarding your other inquires, I decided to create new tickets for them, so we can keep things organized and ensure that they will be handled:

https://wpml.org/forums/topic/split-credits-estimate/

https://wpml.org/forums/topic/split-multidomain-questions/

I'll answer you there.

December 4, 2025 at 4:10 pm #17635322
florianF-18

I am facing Assigning WPML automatic translation credits issue to my website.Please check and fix it.There is credit in the WPML account but when I go to translate the website it shows zero credit check the two screenshots

New threads created by Lucas Vidal de Andrade and linked to this one are listed below:

https://wpml.org/forums/topic/split-credits-question/

Translation-Dashboard-‹-BrokerCheck-—-WordPress-12-04-2025_10_02_PM.png
Manage-credits-for-Automatic-Translation-WPML-12-04-2025_10_08_PM.png
December 5, 2025 at 8:34 am #17637125
florianF-18

I automatically translated the contents of my desired template from english into german but they were not translated. Later, when I opened it in the editor and tried to translate it manually, the texts were not there, only the fields were shown. This is definitely what the editor should show.

* I tried to make it compatible from the WPML theme plugin localization options, but it still doesn't work.

* The text should have come directly without the field appearing in the editor. I updated the WordPress and PHP versions.But not working. Please check and solve it.

New threads created by Lucas Vidal de Andrade and linked to this one are listed below:

https://wpml.org/forums/topic/split-translating-templates/

Startseite-»-BrokerCheck-12-05-2025_02_17_PM.png
The-Birthplace-of-Successful-Traders-»-BrokerCheck-12-05-2025_02_19_PM.png
Theme-and-plugins-localization-‹-BrokerCheck-—-WordPress-12-05-2025_02_25_PM.png
December 5, 2025 at 9:11 am #17637321

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: Europe/Vienna (GMT+02:00)

Hello there,

This is the ticket to address the issue with adding new custom languages. If you are having other issues, please open new tickets in our Forum. It's the same steps you followed to create this ticket in the first place.

Since you've already shared the details here, I'll create new tickets from this one. But please keep in mind that if you have new issues to report or questions to make, you must create new tickets for them, and not send them as messages on existing ones, like it's been done right now.

https://wpml.org/forums/topic/split-credits-question/

https://wpml.org/forums/topic/split-translating-templates/