• Resolved mathiasscherer

    (@mathiasscherer)


    Hello!
    Congratulations on the great plugin.

    I would like to know more information about how to translate the plugin, such as monthly posts, notifications and other aspects. I want to implement in pr-BR.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Mayeenul Islam

    (@wzislam)

    I would like to know more information about how to translate the plugin, such as monthly posts, notifications and other aspects. I want to implement in pr-BR.

    Pardon me, is it pt-BR?
    Whatever.

    TRANSLATE ONLINE
    You can easily translate the plugin from the following link (WordPress Polyglot):
    https://translate.wordpress.org/projects/wp-plugins/nanosupport

    Just choose your language, and translate the strings of Stable (latest release).

    For example, if you choose pt-BR, the stable release path would be:
    https://translate.wordpress.org/projects/wp-plugins/nanosupport/stable/pt-br/default

    Just choose the untranslated strings and provide your translations.

    TRANSLATE LOCALLY
    If you are unfamiliar with the process, and prefer to use any local translation tool, you can get the .POT file inside the plugin’s i18n/languages/ directory. Just open it in your local translation tool (like POEdit, EasyPO etc.), and start translating it. πŸ™‚

    In that case, just send us the translated .po file after translation. So that we can upload it to WordPress Polyglot.

    Hello!
    Congratulations on the great plugin.

    Thank you. Would love, if you review our plugin in WordPress.org.

    Thread Starter mathiasscherer

    (@mathiasscherer)

    Thanks for the feedback!
    Yes, I need to translate to pt-BR.

    I’m doing a translation for TRANSLATE ONLINE. So other users can benefit from the translation.

    After I finish, how do I make the plugin use the translation file?

    Thank you!

    Plugin Author Mayeenul Islam

    (@wzislam)

    No need to worry about using the translation. After completion of translating the Stable (latest release) of the Plugin, a reviewer of your language will review and publish it while 100% done. And any language that is 100% complete will be automatically available to your WordPress installation in your Locale. πŸ™‚

    As you can see 3 languages are automatically served with the plugin:
    http://prntscr.com/e36ywt

    But if you need the translation in the interim, you can also Export using the export feature as displayed in the screenshot below:
    http://prntscr.com/e36xxm

    Thread Starter mathiasscherer

    (@mathiasscherer)

    Hello, Mayeenul Islam!

    Thanks again for your support. πŸ™‚

    I did all the translations on https://translate.wordpress.org/projects/wp-plugins/nanosupport/stable/en/default and clicked on “Export”, which generated the file wp-plugins-nanosupport- Stable-en-br.po. Now I’ve sent via FTP to my server in public_html / wp-content / plugins / nanosupport / i18n / languages / wp-plugins-nanosupport-stable-en-br.po but the Plugin still remains in English.

    Should I rename the .po file?

    Sorry if I’m asking silly questions.

    Plugin Author Mayeenul Islam

    (@wzislam)

    No, you exported the wrong Translation, export from pt_BR:
    https://translate.wordpress.org/projects/wp-plugins/nanosupport/stable/pt-br/default

    It will download a .po file. You need to make it a .mo, until it’s officially released after review. Try any of the online converter:
    https://www.google.com/search?q=po%20to%20mo

    The plugin looks for WP_LANG_DIR for available translations, so paste the .mo file to the following path:
    /wp-content/languages/plugins/nanosupport-pt_BR.mo

    Don’t forget to rename the file to nanosupport-pt_BR.mo.

    If your WordPress installation is in ‘PortuguΓͺs do Brasil’ (pt_BR) (check in the admin Settings » General … at the bottom: Site Language), the plugin translation will work [inshALLAH].

    Thread Starter mathiasscherer

    (@mathiasscherer)

    Right!

    My WP is set to pt_BR. (I added the code define (‘WPLANG’, ‘pt_BR’); In the wp-config.php file).

    Send by FTP the conforming files to the oriented, as the images show, but the plugin still continues in English.




    Thread Starter mathiasscherer

    (@mathiasscherer)

    Right!

    My WP is set to pt_BR. (I added the code define ('WPLANG', 'pt_BR'); In the wp-config.php file).

    Send by FTP the conforming files to the oriented, as the images show, but the plugin still continues in English.




    Plugin Author Mayeenul Islam

    (@wzislam)

    My bad. I’s unaware that, without approval, the “Export” option is unable to get the translated strings. πŸ™ I opened the .po file in PoEdit, the translated strings are not there. πŸ™

    I’m extremely sorry that, I’s killing your time.

    I’ve already contacted the Translation Moderators of pt_BR to review and approve your translations, and got no feedback till now.

    If you have hurry, please forgive me, and download PoEdit and translate locally. It will create and update the .mo file on saving.

    Download Link: https://poedit.net/download

    I’m extremely sorry that, I couldn’t help you the way it should be. πŸ™

    Thread Starter mathiasscherer

    (@mathiasscherer)

    No problem! πŸ™‚

    However, do I just need to wait for the review team to approve my translations so that my NanoSupport automatically stays in pt_BR?

    PS: I deleted the nanosupport-en.BR.mo (and others informed) files from the server.

    Plugin Author Mayeenul Islam

    (@wzislam)

    However, do I just need to wait for the review team to approve my translations so that my NanoSupport automatically stays in pt_BR?

    Yes, please. πŸ™‚
    I’m trying my best from my end, but you know WordPressing is a voluntary work to do, I can’t force them to do so.

    Plugin Author Mayeenul Islam

    (@wzislam)

    Pardon me. But it seems the pt-BR Translation reviewer team is inactive or not interested. I found no feedback from them.

    I’d suggest you to use PoEdit and copy-paste translations from w.org Polyglots to your local translation.

    I’m afraid, it never happened to any other languages like Dansk or EspaΓ±ol. They reviewed each of the strings and helped us getting approved translations.

    It’s a bad luck. πŸ™

    Plugin Author Mayeenul Islam

    (@wzislam)

    pt-BR Translation Editor Claudio Sanches (@claudiosanches) just knocked us that he’s travelling.

    He’ll go through the translations and review the strings.
    InshALLAH soon we will get an update. πŸ™‚

    Thread Starter mathiasscherer

    (@mathiasscherer)

    Great news. Let’s stay waiting! πŸ˜€

    @mathiasscherer I’ll review your translation and if you are doing a good job I’ll make you an editor for this plugin, so you’ll be free to directly translate anything without someone to approve. Please sign in for the WordPress Slack https://make.wordpress.org/chat/ so we can talk more about translations.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘How to translate?’ is closed to new replies.