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

[Solved] Multilinguage Forum with Translatepress - "Forum rules sample text" issue

6 Posts
3 Users
1 Reactions
1,225 Views
Coder
Posts: 20
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
(@coder)
Eminent Member
Joined: 2 years ago
[#56528]

Hi,

So i am almost done translating WPforo into 6 languages but am missing how I can sort the "Forum rules sample text ...":

When I dive into the db with WP Data Access and look at the tables for Translatepress I can find "Forum rules sample text ..." as the base text and translate our text without problems, except that I do not know how and where I can place the English text. If I do it inside the foro settings page it would override the translation of the other language texts as basically the translations "loose their anchor" of the short sample text (-> "Forum rules sample text ...").

Can I enter the actual English text in another place than the settings page?

Thanks

 Screenshot 2024 05 20 at 16.35.25

5 Replies
Sofy
Posts: 5774
 Sofy
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
(@sofy)
Support Team
Joined: 8 years ago

Hi,

We're not familiar with the plugin you're using for translation. Please contact the plugin's support team with your question.


Coder
Posts: 20
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
(@coder)
Eminent Member
Joined: 2 years ago

I have dug a bit deeper and believe the only way to make the text multilingual would be to change the "forum rule" a regular a href link (in the user registration section) so it can point to a page in wp.

Which file would I have to modify? Thanks for your help.


1 Reply
Robert
Admin
(@robert)
Joined: 2 months ago

Support Team
Posts: 10716
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

Hi @coder,

There is no "Forum rules sample text" phrase in wpForo. By default it comes empty. Please see the screenshot of the wpForo > Settings > Privacy & Forum Rules admin page:

 

 


Coder
Posts: 20
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
(@coder)
Eminent Member
Joined: 2 years ago

Hi Robert, I understand and I entered some dummy text to see how it is handled. The text from the Forum rules Text field is stored in wp_options and Translatepress currently can not grab it properly from there. Therefor I should modify the forum rules settings in the signup process window to be a simple a href link to a wp page, just as the Terms and Privacy rules.

Thank you for any further guidance.


Coder
Posts: 20
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
(@coder)
Eminent Member
Joined: 2 years ago

Ok, I solved it. Modified the legal.php file a bit.


Share: