Notifications
Clear all

Part of the localization disappears when Polylang is turned on.

4 Posts
2 Users
0 Reactions
2,098 Views
(@f2065)
New Member
Joined: 5 years ago
Posts: 4
Topic starter  

I created two forms - for en_US and ru_RU.
The texts of the buttons in the forms are written in the appropriate languages - everything is fine with them, they work correctly in the en_US and ru_RU pages.

But, on the form there are a lot of hints and non-editable labels (for example, "Start the discussion ...", "Subscribe").

If Polylang is turned off, then on both forms these inscriptions are Russian (if Russian is selected in WP settings), if Polylang is enabled, then on both forms these inscriptions are English, regardless of Wordpress language.

I checked the plugins/wpdiscuz/languages/wpdiscuz-ru_RU.po and languages/plugins/wpdiscuz-ru_RU.po - they have the inscription "Start the discussion" translated ("Начать обсуждение").

The option "Use Plugin .PO/.MO files" is enabled.

What to do?

Screenshots:

01 polylang
02 wpdiscuz cfg
03 forms list
04 forms eng
05 forms rus
06 result eng
07 result rus
08 Loco list
09 lng1
10 lng2

 


   
Quote
Topic Tags
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6147
 

Hi @f2065,

Thank you for contacting us.

We've just checked and don't find such an issue on our test websites (the setting are the same as in your case). 

Please try to delete all caches and check again (press CTRL+F5 on frontend), let us know if it doesn't help.


   
ReplyQuote
(@f2065)
New Member
Joined: 5 years ago
Posts: 4
Topic starter  
Posted by: Astghik

We've just checked and don't find such an issue on our test websites (the setting are the same as in your case). 

I found a dependency:

11 bug

Polylang settings, URL modifications. If the mode "The language is set from content" is selected, then there is a bug with localization.
If the mode "The language is set from the directory name in pretty permalinks" is selected, then the bug disappears, the localization fully switches for all form components.

In the properties of each page localization is set. But for some reason in wpDiscuz some of the components of the form do not see it. It is strange that wpDiscuz correctly selects the form template (that is, it sees the localization correctly), but some of the elements do not switch. This is not logical and should not be so.

Is there any way to fix this?


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6147
 

@f2065,

I'm not familiar with the plugin settings. It'd be helpful for us if you record some video of the issue. 


   
ReplyQuote
Share:
Scroll to top