AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

[Closed] Problems with multilingual website

3 Posts
3 Users
0 Reactions
2,365 Views
Posts: 1
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sr000)
New Member
Joined: 5 years ago
[#15828]

Anyone using wpForo in two different languages with Polylang?

I have a website in English and Swedish. I would like to show all frontend elements/phrases in English for English users and in Swedish for the Swedish users.

Default language is English and I use Polylang to translate the website to Swedish (/sv) and .po and .mo files for the forum translation.

The site language is set to Swedish under "General settings".

The problem is that the page "mywebsite/community" takes me to the English website and English forum interface.

If I translate the "Forum" page to Swedish and add the [wpforo] shortcode, I get the forum startpage in Swedish "mywebsite/sv/community-2" (Can't have the same slug for both languages with Polylang), but clicking any subject takes me back to the "/community" slug and English again.

Is it possible to have a multilingual interface with wpForo? Would appreciate a solution.

Thanks!

 

 


2 Replies
Posts: 1
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@greenmear)
New Member
Joined: 5 years ago

Hi,

I am facing exactly the same challenge. Could you solve it already or is there someone who knows a workaround?

 

By copying the forum and adding the shortcode only for the specific category, I can show the other language. But when the user clicks on any button (sub-cat, forum, members, profile), it always switches to the first initial language.

 

Thanks


Robert
Posts: 10716
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 2 months ago

I'm sorry, but there is no solution yet.

You should use a language switcher plugin which will work on the single /community/ page. The /community/ page will be translated based on current language. You should not use other pages for other languages. The forum page is one, and it should not be duplicated.

Your multi-language plugin should be able to reload the /community/ page with some variable like /community/lang=en and change current WordPress language. Once the front-end language is changed wpForo will automatically load the current language translation.


Share: