• Resolved comcart

    (@comcart)


    Hi there,

    after the upgrade, the translations still not working, when this issue will be correct?

    Many thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    Can you clarify where the translations are not working?

    Thread Starter comcart

    (@comcart)

    Hi Ron,

    I had translate with Poedit all strings, the menu string are working perfect the page strings is not working keep in English, and the Menu tab are in Italian.

    Plugin Author Ron Rennick

    (@wpmuguru)

    Thanks for the follow up. We have an issue where we are looking into it: https://github.com/woocommerce/woocommerce-admin/issues/2336

    Hi @comcart,

    Are you trying to use your own translation file for Italian?

    If so, in order to get all of the strings translated – JSON files will need to be generated so everything can be localized.

    You can use WP-CLI to do so: wp i18n make-json [.po file here] --no-purge.

    The name of the file should follow this format: woocommerce-admin-xx_YY-wc-admin-app.json and be placed in the /wp-content/languages/plugins directory. (Where xx_YY is your locale, like it_IT).

    Please consider contributing your translation to the WooCommerce Admin translation project!

    Thread Starter comcart

    (@comcart)

    Hi @jeffstieler

    it’s not possible just translate with Poedit and the translation works, like a major part of the others plugins?

    Thanks.

    Plugin Support Grigorij S. a11n

    (@grigaswp)

    Hi there,

    it’s not possible just translate with Poedit and the translation works, like a major part of the others plugins?

    Our developers are aware that currently it is not possible to translate strings using plugins like Poedit or Loco Translate.

    Jeff suggested a workaround to fix this for the time being but it should be possible to translate strings the usual way after a Pull Request is created and merged for this GitHub issue and a release is out:

    https://github.com/woocommerce/woocommerce-admin/issues/2336

    Thread Starter comcart

    (@comcart)

    Hi there,

    thanks @grigaswp for the reply, we will try the workaround on a demo site, off course is much better to use the standard solution as Poedit in our case.

    Hi @comcart,

    it’s not possible just translate with Poedit and the translation works, like a major part of the others plugins?

    It is, but JSON files need to be generated from the resulting .po file so that the strings in the script are translated as well. This isn’t a workaround (cc @grigaswp) and only needs to be done while developing a translation file.

    For published translations available on GlotPress, the JSON files are automatically generated and downloaded when using the translation update button under Dashboard > Updates. You can test this by choosing Espa?ol for your language and updating translations.

    Hello:
    Excuse me
    How can I change the language?
    wp-includes/script-loader.php 604
    ‘past’ => __( ‘%s ago’ ),
    %s = 2 months
    Months change Chinese language
    Thank you!

    Hello:
    wp-includes\js\dist\date.min.js Processed
    Thank you!

    • This reply was modified 5 years, 3 months ago by hlv356168.

    Hello @hlv008,

    It appears you’re looking to translate some string that are in WordPress itself, not in WooCommerce Admin.

    You can find existing translations for WordPress here: https://translate.www.ads-software.com/

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Translation not working’ is closed to new replies.