Skip Navigation

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

Problem:
The client has activated WPML on both the main site and a subsite, with both sites having Hindi and English languages activated. The client translated the Rehub theme to Hindi on the subsite, but cannot see the Hindi translation on the main site. Additionally, string packages for the Rehub theme are not appearing on the main site for string translation.
Solution:
1. Understand that each subsite and the main site are treated as separate installations in a WPML multisite environment. This means that translations and settings are not automatically shared between them.
2. To share the Hindi translations from the subsite to the main site, first export the string translations from the subsite. Go to WPML > String Translation on the subsite and scroll down to find the option to export a text domain to a file.
3. Import the exported file into the main site by going to WPML > String Translation and using the import functionality.
4. For more detailed guidance on managing multisite translations, refer to the WPML multisite support documentation.

If this solution does not apply to your situation, or if it seems outdated, we recommend opening a new support ticket. We also advise checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our 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.

This topic contains 3 replies, has 0 voices.

Last updated by Christopher Amirian 4 weeks ago.

Assisted by: Christopher Amirian.

Author Posts
December 22, 2024 at 7:37 pm #16538353

cbP

Background of the issue:
I have activated WPML on the main site and on one subsite separately. Both have different languages activated with two languages in common: Hindi and English. I have translated the active theme (Rehub) on the subsite to Hindi, which is common to the main site as well.

Symptoms:
I can't see the Hindi translation on the main site. The main site has the default theme activated. String packages for Rehub are not appearing on the main site on attempted string translation.

Questions:
Why can't I see the Hindi translation on the main site?
How can I make the Rehub theme's string packages appear on the main site?
Why Themes are not registering on the main site

December 23, 2024 at 12:32 pm #16540236

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Welcome to WPML support. I think this is a normal behavior as the language setup is different from the main site and the sub site.

Consider the fact that you could have set up completely different languages on the main site in comparison with the sub site and it would work.

That is why, you should also translate the strings on the main site, like you translated in the sub-site.

But you can go to the Sub Site and go to WPML > String Translation and scroll down, you will see a section where you can export a text domain to a file.

After that you can go to the main website and import those there.

Thanks.

Screenshot 2024-12-23 at 4.31.20 PM.png
December 25, 2024 at 1:32 pm #16545464

cbP

OK

I have one more concern that how to preserve WPML string translations.

will they be updated / lost on subsequent theme/plugin update

December 26, 2024 at 8:00 am #16546346

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Consider each subsite and the main site as a separate installation. Therefore, you need to update them separately regarding the string translation.

https://wpml.org/documentation/support/multisite-support/

Thanks.