This topic has 73 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #150144
     Radu
    Moderator

    The content from here can be translated sure with WPML string translation

    Personally i don’t know another solution to can translate those.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #150152
     Roader
    Participant

    Hi Radu… My friend. WPML is expensive!
    So, PLEASE! Think free solutions, like Polylang, WPGlobus (well plugin have two versions: free and Pro), qTranslate X (8 months outdate… but…).

    I need to know Whats string do you use for this area and BuddyPress Profile Fields… etc.

    #150211
     Radu
    Moderator

    Hi,

    Just I’ve found this on google: https://qtranslatexteam.wordpress.com/multilingual-fields/ and I’ve tested and it works! You should enter the fields in this syntax (see screenshot) /

    Official documentation for this: https://qtranslatexteam.wordpress.com/multilingual-fields/
    You should be able to translate all fields using this method.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #150225
     Radu
    Moderator

    Also you will be needed to replace the content of this file from sweetdate parent: /wp-content/themes/sweetdate/custom_buddypress/class-bp-tabs.php

    with this one : http://pastebin.com/raw/zuE6E2EJ

    This will take care of translation for the strings on profile.

    This fix will be included in future updates

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #150243
     Roader
    Participant

    Let me try my friend.
    qTranslate X is okey, but the problem is, this plugin is Outdate!

    For this reason, check others alternatives: polylang and wpglobus.

    #150319
     Radu
    Moderator

    This plugin isn’t out of date,

    Latest update was 8 months ago and it works great with current version of wp

    https://wordpress.org/plugins/qtranslate-x/

    Cheers

    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #150355
     Roader
    Participant

    My friend. Think in others alternatives: Polylang and WpGlobus.

    Because, if right now qTranslate X was abandoned, then it is no longer useful.

    Outdate plugin for WP is very dangerous.

    But, okey, I go to try! But, again… try with other alternatives.

    #150370
     Roader
    Participant

    Hi Radu. Your Code works in the tabs, okey, but, there is an error, in profile info check this.
    Name appears without change, [:es]Nombre[:][:en]Name[:]

    And remember please, adapt this code for WpGlobus also. WpGlobus works with: {:en}text{:} also qTranslate.

    Attachments:
    You must be logged in to view attached files.
    #150514
     Radu
    Moderator

    DO this : https://archived.seventhqueen.com/forums/topic/how-can-i-force-the-translation/page/2/#post-150225

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #150551
     Roader
    Participant

    My friend Radu, I’m using this pastebin code, but, like you can see,
    In Profile Info, does not change. Appears: [:es]Nombre[:][:en]Name[:]

    Solution?

    #150608
     Radu
    Moderator

    I see, bun on profile header they are showing ok right? (top)

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #150648
     Roader
    Participant

    Hi!
    Yes, top Okey!
    Down, Not! So, please… fix it! Or tell me why.

    But, I prefer, also, that you add support for WpGlobus or PolyLang, because qTranslate maybe, was abandoned.

    Attachments:
    You must be logged in to view attached files.
    #150786
     Radu
    Moderator

    Add this function to functions.php in child theme

    COPY CODE
    
    /*Make xprofile fields translable fix*/
    if (!function_exists('make_x_profile_fields_name_translable')):
    
        function make_x_profile_fields_name_translable($fieldname) {
            return __($fieldname, 'kleo_framework');
        }
    
        add_filter('bp_get_the_profile_field_name', 'make_x_profile_fields_name_translable');
    
    endif;
    

    It works i’ve tested

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #150804
     Roader
    Participant

    My friend, look at this.

    Warning: This plugin has not been tested with your current version of WordPress.

    This plugin has 8 months outdate.

    For this reason I say you: Please, add support for WpGlobus and Polylang.

    Attachments:
    You must be logged in to view attached files.
    #150808
     Roader
    Participant

    And Thanks for your functions code, works! But, qTranslate outdate… Ummm

    WordPress has a big problem with Outdate plugins and Security. So, WpGlobus for now is the solution, but your code does not work with this.

    #150810
     Roader
    Participant

    Custom fields are not translated.

    Attachments:
    You must be logged in to view attached files.
    #150916
     Radu
    Moderator

    Use this syntax, it’s the same as qtranslate x and this it should work http://www.wpglobus.com/extensions-archive/multilingual-texts-in-wordpress-theme-options-panel/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #150991
     Roader
    Participant

    Hi Radu,
    I put your pastebin and your functions code, but not work with WpGlobus.
    Your Code work only with qTranslate.

    The problem is, my friend, that qTrans is outdate! And maybe, it was abandoned.

    So, Please, make your code compatible with WpGlobus also.

    Attachments:
    You must be logged in to view attached files.
    #151352
     Radu
    Moderator

    Hi,

    I see your point of view but understand for the moment there is no quick solution for making the wp globus to work, you can use the q translate x I the current version isn’t vulnerable.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #151356
     Roader
    Participant

    Ok. I go to use qTranslate while you work for solution.
    So, please, do not forget it.
    But, also remember the big problem of security and speed.

    I think, that if you add more improves, you can sell SD 60$ (for new buyers)

    My friend, is bbpress very necessary?

    I can see, that if I disable this, the blog not work. But,
    No dating page uses forums. Only this!

    #151401
     Roader
    Participant

    For Laura:

    Hola Laura. Como te decía antes, la traducción española tiene varios errores.
    Obviamente, usando LocoTranslate uno puede corregir, pero, inmediatamente uno actualiza el Theme se pierden los cambios.

    Attachments:
    You must be logged in to view attached files.
    #151409
     Radu
    Moderator

    Bbpress can be de-activate if you will not use forums.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #151412
     Roader
    Participant

    Yes, but, when I disable bbpress, the Blog does not work :/

    Solution?

    #151417
     Roader
    Participant

    For Laura:

    Me gustaría poner el Comutador de Idiomas de qTranslate en el Footer (copy area).
    Cómo puedo hacerlo?

    #167560
     Roader
    Participant

    Again. All Right but, please, make BP / SweetDate fields translatable with WPGlobus. You know, qTranslate X is very outdate. So, please!

    Attachments:
    You must be logged in to view attached files.
    #167819
     Radu
    Moderator

    Hi,

    Make sure to have wpglobus translate options plugin installed

    https://ro.wordpress.org/plugins/wpglobus-translate-options/

    That text is saved in options

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #167847
     Roader
    Participant

    okey Radu, let me check…

    #167941
     Radu
    Moderator

    Ok

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #168062
     Roader
    Participant

    wpglobus-translate-options

    I don’t know why but not work for this fields.

    Wpglobus works right with others, because .mo, .po.

    So, this areas needs tr strings (bp x profile fields also).

    #168065
     Roader
    Participant

    Here we go 😀

    Well, reading this (LINK) is saw that wpglobus options is not that simple to use.

    The plugin developer says that WPGLOBUS does not translate these custom text fields because the fields do not have strings that indicate translation. In the MAIN FORM does not work:
    {: en} text {:} {: en} text {:}
    Nor does that work for BP custom fields.

    And I know this is more work for you, but, when you can, please make translatable those areas.

    For the rest, the plugin can translate 90%

    #168217
     Radu
    Moderator

    Hi,

    Just write your text in both versions in this way
    Example :

    COPY CODE
    
    [:en]English Text[:ro]RO Other language Text[:]
    

    In theme options you should have the text like this:

    In wp globus theme options addon add those -> Options to translate:

    IT will render like this

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution
    #168222
     Roader
    Participant

    Okey, I’m going to try and tell you later. 😉

    #168238
     Roader
    Participant

    Working good for know. Thanks!

    ———–
    What can’t I translate? Custom profile fields.

    For example: Group – Base / Looking for: Everyone
    (of course it can translate Man or Woman because these words are in the .po, but, not custom words added)

    #168555
     Radu
    Moderator

    Hi,

    You’re welcome, ok.

    The profile fields are thru a translatable function __() but for some reason, I cannot figure what’s going on.

    There should be made further investigation, we will come back to you those days.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 34 posts - 41 through 74 (of 74 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?