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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 52 replies, has 2 voices.

Last updated by Mateus Getulio 11 months, 3 weeks ago.

Assisted by: Mateus Getulio.

Author Posts
July 8, 2024 at 7:43 pm #15915516

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Marc,

Thank you for sharing this information.

I checked it and your site has German as the default language.

The automatic translation only works from the main language to the secondary languages. This means that WPML won't be able to automatically translate content from Dutch to German as long as German is the main language of your site.

In your case, you'd first need to make Dutch the main language of the site, wait until the whole content has been translated and then switch to German as the main language.

When you switch the main language, you might need to go to WPML -> Settings -> Translation Mode and change it to Translate what you choose and then change it back to Translate everything to get the automatic translation resumed.

Also, I checked the menus and it is built mainly of custom links not actual pages that you drag and drop from the sidebar, WPML isn't able to sync custom links, you need to go to Appearances > Menu and switch to the secondary language in the admin top bar, then you need to manually add the custom links once your Dutch pages have been translated to German.

Thank you, please let me know if you still have concerns.
Mateus

July 8, 2024 at 8:23 pm #15915584

Marc

Hi Mateus,

Many thanks Mateus for all your great support !!!

Do you think it will be better in my case to use the option 'different domain per language'?

I just read this article: https://wpml.org/documentation/getting-started-guide/language-setup/language-url-options/how-to-use-wpml-with-different-domains-per-language/

But how do I add a parked domain (alias) to my existing domain? My existing domain is “aedcenter.nl” and I want to park the “aedcenter.de” domain. What do I need to do exactly?

Cheers,
Marc

July 9, 2024 at 12:15 pm #15920654

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Marc,

Yes, I believe this setup(a domain per language) would work better for you.

But since your existing content is in Dutch, you need to make the .nl language/domain the main language of the site in order for you to be able to use the automatic translation. Once your content has been translated you can make the switch and make German the main language if needed.

One thing to bear in mind is that for you to use this setup, the subdomain should have no actual content as you observed, it needs to be an empty domain that works as an alias, I checked it and it looks like you're hosted in Cloudways, is that correct? I found an article showing how to add the domain as an alias, it is available in the steps 7 and 8:
hidden link

Given the fact that you already started translating content on aedcenter.de, if you want to switch to 'a different domain per language' here's what I'd recommend you to do:

1- Make a full backup of aedcenter.nl and aedcenter.de just in case
2- Migrate the content from aedcenter.de to aedcenter.nl so that you don't lose the content that has already been translated
3- Remove aedcenter.de as an actual site
4- Add aedcenter.de as an parked/alias domain, you know that it is configured correctly, when you access it before setting the 'a domain per language' and it redirects you to aedcenter.nl
5- Configure 'a domain per language' in WPML -> Languages and add aedcenter.de as the domain for the German Language
6- Finish translating the content(using automatic translation or the manual translation what fits you better)

With your content fully translated, you can switch the main language and proceed to the menu setting I approached above.

Thank you, please let me know if you have doubts.
Mateus

July 9, 2024 at 9:18 pm #15923330

Marc

Hi Mateus,

I did everything according your spex but when I click on German language button of the language switcher at the bottom of the hidden link website to see the German version of the website. I still see Dutch.

Can you please login to my site to see if all settings are correct?

Thanks very much on beforehand, Marc

July 10, 2024 at 7:47 am #15926292

Marc

Hi Mateus,

Here are all the details of my configuration: see screenshot

Thanks very much on beforehand,
Marc

AEDCenter.de-configuration.png
July 10, 2024 at 3:13 pm #15928895

Marc

Hi Mateus,

Please help. I'm almost there to find the solution to a working system.

Cheers, Marc

July 10, 2024 at 6:14 pm #15929736

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Marc,

I checked it and it looks like both domains are pointing to different IP addresses(this also aligns with the setup in the screenshot that you shared):

hidden link - 162.159.136.54 / 162.159.137.54
hidden link - 165.232.91.87

This won't work with WPML, the domains need to be pointing to the same IP as per our guidelines. And there could be no redirect from de DE domain to the NL one, they need to point to the same thing so that WPML can make the language switch work properly.

Another test you can make to see if it is ready for WPML is:

1) Create a text file(for example WPMLTest.txt)
2) Upload it to the root directory of hidden link
3) Then make sure you can access the file from the German domain even without a redirect configured, like the following: hidden link

This will indicate the DNS setting is correct and ready to be activated in WPML -> Languages.

July 11, 2024 at 9:24 am #15933859

Marc

Hi Mateus,

Really appreciate your support!

I now also added AEDCenter.DE to CloudFlare also (like AEDCenter.NL) and changed the A-records to match the A-records of AEDCenter.NL. So now it shows:

hidden link - 162.159.136.54 / 162.159.137.54
hidden link - 162.159.136.54 / 162.159.137.54

But still WPML is not working as it should !!!

July 11, 2024 at 11:13 am #15934592

Marc

I changed the situation above and took out the CloudFlare proxy. So now I host directly on CloudWays.com. I set the A-records for aedcenter.nl and aedcenter.de to 165.232.91.87.

So now it shows:
---------------------------
hidden link - 165.232.91.87
hidden link - 165.232.91.87

I reset the WPML plug-in, but still WPML is not working as it should !!!
All Dutch links AEDCenter.NL/XXX, that I click on, do not show any similar AEDCenter.DE/XXX URL and also no German texts. Every AEDCenter.NL/XXX link redirects straight to AEDCenter.NL/XXX.

I'm really puzzled. Can you please help?

Cheers, Marc

July 11, 2024 at 11:33 am #15934696

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

If you upload a text file to the webroot of AEDCenter.NL, example: test.txt, can you browse it with AEDCenter.de/test.txt?

It is possible that the DNS is still propagating, it can take up to 24 hours for it to be fully propagated, normally it doesn't take that long but it can happen.

July 11, 2024 at 11:36 am #15934702

Marc

I can see the file: hidden link

July 11, 2024 at 11:38 am #15934707

Marc

The alias seems to work, but the WPML plug-in (settings) seems to cause the problem ...

July 11, 2024 at 11:57 am #15934826

Marc

I'm now deleting all files in the root via FTP for AEDCenter.DE and I just deleted the existing database. Maybe this caused the problem ?!?

July 11, 2024 at 12:35 pm #15934987

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello Marc,

I tried checking the main domain at hidden link but it is loading a WordPress installation screen. It happens when the DB available in the wp-config.php doesn't have data yet.

Are you migrating the site to hidden link? Will the WordPress installation be available in hidden link or hidden link?

July 11, 2024 at 12:37 pm #15935018

Marc

Now I even see a WordPress installation page, when I go to hidden link to login to my AEDCenter.NL WordPress backend !

The topic ‘[Closed] WPML functionality’ is closed to new replies.