Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dev49.net

    (@dev49net)

    Hi!
    Thanks for your willingness to help. Initially I didn’t plan the plugin to be translated, since there are just couple of settings in admin panel that could be translated. However, it may be a good idea to add language files. May I ask where are you getting this message? What did you click/enter? I know www.ads-software.com did some changes to translations recently, but I’m not very up to speed with this, to be honest.

    Daniel

    Thread Starter celsocos

    (@celsocos)

    Hello Mr. Daniel.

    WordPress has a translation system on-line, and you can check it here:
    https://www.ads-software.com/plugins/wp-first-letter-avatar/developers/

    In the bottom right there is a green button “Translate this plugin”. A web interface will show with several languages, but the plugin must be “prepared” this means the strings must use wordpress functions to display text. The native language will be the “base” and we (contributors) can translate on-line.

    /** Not localization friendly */
    echo "Welcome to my plugin";
    // OR
    print("Welcome to my plugin");
    
    /** Localization friendly */
    _e('Welcome to my plugin', 'my-plugin');
    // OR
    $my_text = __('Welcome to my plugin', 'my-plugin');
    echo $my_text;

    You can check more info here

    Usually small and usefull plugins do not have so many strings and it’s not so hard to adjust. And not so hard to translate, this way the WP community can help you with localization, just like me.

    ??

    Best regards,
    Celso Coslop

    Plugin Author Dev49.net

    (@dev49net)

    Well, I did everything the way it should be, but WordPress still shows that it is not properly prepared for localization. Weird. Maybe it needs time to process.

    Plugin Author Dev49.net

    (@dev49net)

    After Googling a bit, it seems that there is a whole lot of plugins that are experiencing this problem, even though they are technically prepared for localization. I’m not sure how to remedy this.

    Thread Starter celsocos

    (@celsocos)

    Ok, I understand. In this case, the solution is just wait for the WP team try to fix this. I can do the translation locally and wait for share my work with community later on.

    Thanks for your time.
    Best Regards

    Plugin Author Dev49.net

    (@dev49net)

    Hi there,
    I just made couple of changes in the code and WordPress does not say it is not properly prepared for translation anymore ?? So I guess if you want to contribute, you should be able to do it now. I’m still not sure how this whole translation system works, it’s a bit of a mystery to me and I didn’t have enough time to understand it.

    Anyway, any contributions are welcome, so thanks a lot for your willingness to help. Please keep in mind that I also have other very similar plugin, named BuddyPress First Letter Avatar. It uses almost the same strings as this plugin, so it would be great if you could contribute to these two.

    I’m marking this one as resolved, as it seems that problem has been solved now.

    Once again, thanks for your help and thanks for bringing this to my attention.

    Cheers,
    Daniel

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘I would like to contribute with Portuguese (PT_br) translation.’ is closed to new replies.