Hello! I used the Loco Translate plugin to download the pt_BR.po file. But when I go to the wpforo page on settings it only has english available. Additionally, on the website itself changing the language does not change the language of the interface of the forum. I am looking to run my website on both English and Portuguese and have had little trouble with other translations, but can't seem to figure this out. I'm sure there must be some step i'm missing but reading previous topics about multilingual issues they seem to stem from people trying to set up different pages. I am not. I have both my Eng and PT-BR topics on the same page. But the interface itself doesn't change languages when I switch the language on the website. Please help!
Hi @willpowerwisps,
wpForo Phrases doesn't have any relation to your translation files. The phrase system is only designed for quick editing and changing frontend phrases, it's not for multi-language forums.
wpForo Forum language is based on WordPress language set in Dashboard > Settings > General admin page. You should only use the XML Language selector if you’ve created different language XML’s and uploaded in wpForo phrase system.
If you changed WP language wpForo already loaded on that language. You can see buttons and other parts (user interface) are already in your website language. If some phrase is not translated you should edit your website current language translation file (PO/MO) in /wpforo/wpf-languages/ directory and complete the translation.
- Using po/mo translation files: https://wpforo.com/docs/translation/translate-using-pot-file/
- Using wpForo Phrase system: https://wpforo.com/docs/translation/quick-translation-phrases/
- Using wpForo Phrase system XML file: https://wpforo.com/community/faq/how-to-translate/
- General information how to translate wpForo: https://wpforo.com/docs/root/translation/how-to-translate/
Hello,
My website is in both english (default) and portuguese. But I cannot figure out how to translate wpforo's interface to portuguese. Whenever I click the forum link on the portuguese side of the website it redirects me to the english side of the website. If I go to the forum page and then switch the language, it redirects me to the home page. Please advise how I can have visitors toggle between the two languages.
both of which do nothing. It remains in english.
Where can I check it, any URL?
Can you zip and attach the "wpforo-pt_BR.po
" and "wpforo-pt_BR.mo
" files you are currently using in the /wp-content/languages/plugins/ directory?
Hi @willpowerwisps,
Thank you for the access details. The problem comes from the Multi Language plugin you're currently using. This plugin doesn't change the general language of the WordPress page, so the WordPress core doesn't understand that you're currently viewing another language, this plugin performs the language change in its own core. This is the reason why wpForo cannot detect the language. This is a big issue and makes wpForo incompatible with the ML plugin you use. I'm really sorry, but there is no solution for this issue, wpForo is not compatible with your ML plugin. But this issue can be fixed if you use the Polylang Pro version. As far as i see here, there is a way to change language with without changing the page slug (URL Path), so this will work with wpForo: https://polylang.pro/doc/can-posts-or-terms-share-the-same-url-slug-across-translations/