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.

This topic contains 5 replies, has 2 voices.

Last updated by Mateus Getulio 1 year, 10 months ago.

Assisted by: Mateus Getulio.

Author Posts
August 7, 2023 at 2:43 pm #14164647

romanZ-6

Tell us what you are trying to do?
I want to use only one language for my woocommerce website (Romanian) I use woodmart theme and basic string on this theme are in english. So I set the basic language as English and additionally set Romanian, but when I disable English, my site just won't load. What am I doing wrong ?

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

August 7, 2023 at 8:25 pm #14166167

Mateus Getulio
Supporter

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

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

Hi there,

Thanks for your contact!

Have you enabled the displaying of the English version for your user, following this method? https://wpml.org/documentation/getting-started-guide/language-setup/hiding-languages-on-the-front-end/#sending-content-to-translation-for-languages-that-are-hidden

If you have and the problem persists, we might be facing an interaction issue with a third-party functionality, in this case:

- Deactivate all the plugins that are not related to WPML
- Switch for a moment to a WordPress default theme like Twenty Twenty-one
- If the issue is gone, activate one by one to see with which one there is an interaction issue

Could you please tell me the results of this investigation? Also, can you enable the debug mode? Just add the following code in your wp-config.php file:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
  
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
  
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
  
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );

Please check the following links to read more about debugging with WordPress.
- https://codex.wordpress.org/Debugging_in_WordPress
- https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging

After adding the code above, try to reproduce the issue again and check if you'll find a debug.log file inside the wp-content folder. If you locate it there, kindly send us the last lines here in the ticket.

Regards,
Mateus.

August 8, 2023 at 9:24 am #14167895

romanZ-6

I have the english language of the dashboard, theme and wordpress / woocommerce but I have the site running at the moment only for Romanian. So I don't need a multilingual site at the moment, I just need to translate the main texts of the theme into Romanian. How can I do all this ? The plugin seems too complicated to me, for example in loco, I just install the plugin and change the required text values, at the moment I want to do the same with my purchased WPML plugin

August 8, 2023 at 4:15 pm #14171181

Mateus Getulio
Supporter

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

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

Hi there,

Thanks for your reply.

Most probably you can translate those texts using our WPML -> String Translation module. If you're unable to find them there, please try these methods: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Now, to choose your administration language, you should go to the Users → Profile page and use the Language option in the Personal Options section. https://wpml.org/documentation/getting-started-guide/language-setup/setting-the-wordpress-administration-language/

If you're still not achieving the desired results, please point us to some examples (and screenshots, if possible), so that we can check it better.

Looking forward to your reply. Thank you.

August 8, 2023 at 4:48 pm #14171469

romanZ-6

At the moment I just want to translate the site values and themes that I have. I don't want to install an additional language. I install 2 plugins, CMS and String but i can't translate nothing before do not select second language on setup

August 8, 2023 at 7:50 pm #14172171

Mateus Getulio
Supporter

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

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

Hi there,

Thanks for your reply.

That is right, you need to complete the setup, and add at least one second language. Please check our doc related: https://wpml.org/documentation/getting-started-guide/language-setup/

As a workaround, after completing the wizard setup, you can remove this second language later in WPML -> Languages -> Site Languages -> Add / Remove languages. But having only one language can create issues, for example, it won't be possible to access the 'WPML -> Theme and plugins localization' and 'WPML -> Media Translation' sections.

Alternatively, you can just hide this second language: https://wpml.org/documentation/getting-started-guide/language-setup/hiding-languages-on-the-front-end/

These are our only options here, I'm afraid. Please review them out and let me know if you still have doubts. Thank you.