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

 Sort Search Results by:

AI Assistant
Notifications
Clear all

wpForo 3.1.2 with TranslatePress

5 Posts
2 Users
0 Reactions
134 Views
Posts: 19
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
(@miednr)
Eminent Member
Joined: 2 years ago
[#73054]

Hello,

using wpForo 3.1.2 with TranslatePress, I want to achieve to have Header and Footer in the language selected. The Forum is translated with your .po-Files. The content should remain in English, until gVectors AI translates it.

This is what I did so far in TranslatePress:

Exclude from dynamic translation

#wpforo

.wpf-thread-list

.wpforo-post-head

.wpf-topic-more-info

Exclude selectors from translation

#wpforo

.wpf-thread-list

.wpforo-post-head

.wpf-topic-more-info

I also set the language for the whole shortcode block in Elementor to English. Maybe this is not necessary? But it doesn't help with the AJAX-parts.

The result is, that Header and Footer are translated by TranslatePress, wpForo is translated by itself (I guess), but the parts with AJAX-loading are still translated with TranslatePress.

Please let me know, which AJAX-Elements wpForo is using (full list, because maybe I miss something, like private messages?).

Please let me know, what kind of selectors I have to use to exclude the parts from translation.


4 Replies
Sofy
Posts: 5840
 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: 9 years ago

Could you please provide the URL?


Reply
Posts: 19
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
(@miednr)
Eminent Member
Joined: 2 years ago

Hello @sofy !

Thank you for your reply. I solved it today just by using #wpforo. Thanks.

I use the wpForo Blog Cross Posting add-on together with TranslatePress.

The topic-menu excerpt above a WordPress post is rendered as follows:

<span class="wpf-link wpf-tmi-item-body-excerpt"
      data-postid="113"
      data-no-translation="">
    ...
</span>

Although data-no-translation is present directly on the element, its content is already translated on translated-language pages. TranslatePress exclusion selectors for #wpforo, #wpforo-dialog, #wpforo-dialog-body, and .wpf-tmi-item-body-excerpt therefore have no effect.

It appears that the Blog Cross Posting add-on retrieves the WordPress post content or excerpt after TranslatePress has already filtered it.

Is there a wpForo/Blog Cross Posting filter or template hook that allows me to replace the topic-menu/modal excerpt with the unfiltered original WordPress post content? In particular, I need a hook for the content rendered in .wpf-tmi-item-body-excerpt and #wpforo-dialog-body.


Reply
1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 9 years ago

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

@miednr 

Please note, all questions related to paid addons should be asked in the gVectors.com forum. Here, we only support issues related to the free wpForo plugin.

The wpForo Blog Cross Posting addon's support forum: https://gvectors.com/forum/wpforo-blog-cross-posting/


Reply
Posts: 19
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
(@miednr)
Eminent Member
Joined: 2 years ago

@sofy 

My issue ist not at all related to the Cross Posting addon.


Reply
Share: