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.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Bobby 1 year, 8 months ago.

Assisted by: Bobby.

Author Posts
September 19, 2023 at 7:40 pm #14425199

sarahS-28

Hello,
How do I add additional languages to the site? I just did english to spanish when I did site set up, I also need to add french and italian, but I can't figure out how to do that or find the documentation on it.

The options in the tutorials that are available in the documentation on the site do not match the actual options on the plug in in my dashboard. There's no 'language basket,' 'language switcher,' or language section in the settings, as illustrated in the documentation documents. It seems like WPML interface has been updated, but the documentation has not.

Also, when I try to hit the configure button on the WPML CMS plug in or WooCommerce multi-lingual, it says I do not have permission to access that page. I am logged in as the site admin. Here is a link to a screen recording to help.

hidden link

September 19, 2023 at 7:46 pm #14425361

sarahS-28

.

September 19, 2023 at 7:54 pm #14425369

sarahS-28

.

September 20, 2023 at 12:17 am #14425709

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello,

To fix this, I suggest you run the following snippet:

function wpmlsupp_1706_reset_wpml_capabilities() {
if ( function_exists( 'icl_enable_capabilities' ) ) {
icl_enable_capabilities();
}
}
add_action( 'shutdown', 'wpmlsupp_1706_reset_wpml_capabilities' );

Just add the above code in your theme's functions.php file (between the <!--?php and ?--> tags) and visit once the front-page.

Then you can remove this snippet.

Please let me know if this fixes the issue.

Thank you!

September 24, 2023 at 3:56 pm #14453157

sarahS-28

Hey Bobby,
Thanks so much! That seemed to have solved that issue so I can change the site default language and add new languages. Thank you!

One follow-up questions - I am not sure what to set the website's primary language as.
- The website is a multivendor marketplace using WCFM and WooCommerce. Their user interfaces are all designed in english
- The website is for a project in the Dominican Republic where the native language is Spanish, so most of the site content is written in Spanish.
- Vendors on the platform speak english, spanish, italian, and french and will be creating their stores in any of those languages, so the content they create may not be in spanish.

What do I set the site's default language to? How do I manage all these different people creating content on the site in various languages? How do I make sure the vendor backend is appearing in the language the vendor speaks?

Thank you for your time and assistance!

September 25, 2023 at 6:57 pm #14461753

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Glad to hear that you were able to resolve this issue with the script provided!

We recommend setting the deefault language to the language the website would be if WPML was not used.

If your content will always be created in Spanish first then Spanish should be your default language so you can translate from Spanish into the rest.

Each user should be able to edit their profile and choose what the backend language will be.

Go to profile->edit and select the desired language.