Support » Plugin: RVM - Responsive Vector Maps » Language Bug

  • Resolved Giulio Alfonso

    (@senjoralfonso)


    I tried to translate the plugin, but my file with the name “responsive-vector-maps-de_DE_formal” does not get loaded. so maybe the text domain is not set correctly, or the WordPress online translation does not match?

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Enrico Urbinati

    (@enrico-urbinati)

    Hi Giulio,

    I should have a look at your language file first. ThenI think you should get rid of _formal in the end of your file.

    Please let me know

    Plugin Author Enrico Urbinati

    (@enrico-urbinati)

    Hi Giulio,

    investigating further on this topic, I found out that indeed there is an issue on language translation system of RVM: I’ve fixed it and it will be released soon!

    So stay tuned and hang on!
    Thanks for pointing me to this item.

    P.S.: If you can and want to contribute to RVM , would be nice if you could send me over the DE translation (.PO ) via email at info@responsivemapsplugin.com

    Hey, after the latest update, the translation is now working. If I am done with it, I will send it to You.

    Plugin Author Enrico Urbinati

    (@enrico-urbinati)

    So glad to hear, Giulio!
    If you like RVM please leave a review and let other people know RVM features!

    Thank you again.

    Hey, I am working currently on the translation, it seems that the custom markers extension is not translatable so far, and that some slugs are not working, in this case “Settings For “. Maybe you can take a look at the slugs and your .po/.mo file?

    Plugin Author Enrico Urbinati

    (@enrico-urbinati)

    Hi Alfonso,
    yes you’re right!
    I’ll fix it and I’ll push the changes tomorrow.

    Thanks again for your commitment.

    Plugin Author Enrico Urbinati

    (@enrico-urbinati)

    Hi Giulio Alfonso,

    I fixed it in last release ( 5.9.4 ). Just let me know,
    Enrico

    Hi Enrico, I normally do not touch code of other, but the bug was not gone, so I searched for it and changed the following in rvm-core.php:

    add_meta_box( ‘rvm_meta’, __( ‘Settings For ‘ . get_the_title(), RVM_TEXT_DOMAIN ), ‘rvm_mb_function’, ‘rvm’, ‘normal’, ‘high’ );

    to

    add_meta_box( ‘rvm_meta’, __( ‘Settings For ‘ , RVM_TEXT_DOMAIN ) . get_the_title() , ‘rvm_mb_function’, ‘rvm’, ‘normal’, ‘high’ );

    No the translation works.

    I think my translation will be ready tomorrow, where should I send the files to?

    Kind regards!

    Plugin Author Enrico Urbinati

    (@enrico-urbinati)

    Hi Giulio Alfonso,

    yes, that is a variable should not stay inside the text domain: I would move out of that more then remove it.

    I’ll push the fix today. Thanks again for this!

    Plugin Author Enrico Urbinati

    (@enrico-urbinati)

    For the translation you can please send to info@responsivemapsplugin.com

    🙂 Maybe is better zip it and send via WeTransfer to prevent .po files to be blocked ! Thank you!

    Plugin Author Enrico Urbinati

    (@enrico-urbinati)

    Hi Giulio Alfonso,

    I fixed it: I’ve just added “:” to “Settings for:” , in case you have to amend yet your de translation 🙂

    All the best and stay tuned!

    Hey, a lot of words are not translation ready, here a list of those I found actually:

    – Markers
    – Choose Custom Marker Icon
    – Actual Marker Icon
    – Restore Default Marker
    – RVM global settings

    Maybe you can kindly overview all files, so that I can create a new POT file?

    Plugin Author Enrico Urbinati

    (@enrico-urbinati)

    Ok Giulio Alfonso,
    I’ll revise the files and I’ll let you know as soon as possible!
    Thanks

    Plugin Author Enrico Urbinati

    (@enrico-urbinati)

    Hi Giulio Alfonso,

    I’ve fixed “Markers” and “RVM global settings” (no text domain) and I’ll push in next release.
    Regarding the other 3 items, they are embedded inside the marker module, which is out of the text domain unfortunately.

    What you can do is creating variables for DE inside that file.

    I’m providing an example of IT and EN:

    if ( get_locale() == 'it_IT') {
        //if italian
        $rvm_choose_marker_icon = 'Scegli la Tua Icona per I Marker Personalizzata';
        $rvm_select_your_marker_icon = 'Selezione la Tua Icona per I Marcatori';
        $rvm_actual_marker_icon = 'Attuale Icona dei Marcatori';
        $rvm_restore_default_markers_icon = 'Ripristina l\'Icona predefinita dei Marcatori';
        $rvm_your_marker_icon = 'La tua Icona per i Marcatori';
    }
    
    else {
        //english, default
        $rvm_choose_marker_icon = 'Choose Custom Marker Icon';
        $rvm_select_your_marker_icon = 'Select Your Marker Icon';
        $rvm_actual_marker_icon = 'Actual Marker Icon';
        $rvm_restore_default_markers_icon = 'Restore default Marker Icon';
        $rvm_your_marker_icon = 'Your Custom Marker Icon';
    }

    and then replacing the actual copy.
    If you provide me an email where I can contact you, I can even send the marker module updated (although I guess you’re able to do yourself, you can save time 🙂 .

    Yeah! I will wait for the update. Is there also a way to translate the country names? I tried it by editing the names in the PHP File “Belgium” to “Belgien”, but that doesn’t work.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Language Bug’ is closed to new replies.