This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing issues with automatic translation credits and needed assistance in setting up American English as a new language on their site.
Solution: 1. If the client recently changed the domain, domain provider, or server, they need to re-register WPML: - Go to https://wpml.org/account/websites/ - Delete the site URL if it's already registered. - Re-enter the site URL to create a new site key. - Copy the key and register WPML again under Plugins > Install > Commercial.
2. To set up American English as a new language: - Go to Languages > Site languages > Edit languages. - Edit the default English language to change the "default locale" to en_GB. - Add a new language and create a custom language for US English, using en_US as the "default locale".
3. If encountering issues with JS scripts and CSS sheets being blocked, consider disabling the rules or the plugin "CSS JS Manager, Async JavaScript, Defer Render Blocking CSS".
4. Regarding translation credits, once the client reaches a certain usage, they will be prompted to pay the open amount as an internal fraud security measure.
If the solution provided here is outdated or not applicable to your case, we recommend opening a new support ticket. We also 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 contact us at the 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.
keeps saying I do not have enough credits when i follow link to purchase i get this message
There is a problem connecting to automatic translation. Please check your internet connection and try again in a few minutes. If you continue to see this message, please contact our support team.
According to your second screenshot, I see there is an issue with the connection to automatic translation (our server). I suggest you enable a minimal environment as below and check this again:
- Deactivate all non-WPML plugins.
- Switch to the standard theme of WordPress.
❌ IMPORTANT: Please backup your database and website before proceeding ❌
I would like to offer to have a closer look at the problem and request temporary access (wp-admin) to the website to investigate this issue further.
You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.
IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.
I may have to install a plugin called "All In One WP Migration" to make a copy of the website where I can investigate the issue further.
The private response form looks like this: hidden link
Next time you reply, click "I still need assistance."
Video: hidden link
Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.
2) If the site URL is already registered, delete it from the list.
3) Now enter the site URL again. This creates a new site key.
4) Click on “Show key” and copy it.
5) Enter the key under Plugins > Install > Commercial (Tab) to register WPML again. If WPML is still registered here, deregister it first.
If the problem persists, please let me know.
Also, take note that I installed the WP File Manager Plugin, and had to take a look into the wp-config.php file. I was not able to access the server and once I tried to deactivate the plugin I got an error:
You have reached an error page on WPX.net
Also, please ask the hosting support to verify if they are handling any code inside wp-config.php that might be calling the site URL dynamically, as this could be causing issues on the site.
If this will still not clarify the source of the issue I will offer to take a copy of your site and test it on a virtual server.
Go to Languages > Site languages > Edit languages.
Here you can edit the currently active English language and/or add another custom language.
Take note, that even if we use the UK Flag for English, by default the default locale here is en_US. The reason is, that the default language files from WordPress are using this locale.
Anyhow, you could change this default setting to en_GB and then create a second language for EN_US, but take note, that this new custom language needs to have a unique language code, as "en" is already reserved.
Also, take note that inside the WPML's plugin folder on your server, you can download custom flags.
Yes I wish to run 2 languages UK and American English )
I am English UK speaking, so my site content is written in UK English... I wish to add American English as a new language and translate my UK pages to the new American English language ... can you confirm the steps that I need to take please...thanks
1 How change default to en_GB
2 I see how I can add a new language if I can not call it en_US ( what 2 letters can I use that are unique)
Will I then be able to translate campervan pages from reference to campervan to RV example as part of the language translation process?
On WPML > Languages > Language Setup > Edit languages:
1) For the default English language change the "default locale" to en_GB.
2) Now use the button to add a new language at the bottom of the box.
3) Create your custom language for US, take note that the language code here can not be "en" as this is already used. You should be able to use en_US as the "default locale", if you followed step 1).
This should usually do the job, but in case you run into issues, please let me know.