Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,
    Having exactly the same problem! Checkout fields remain in English despite I’m using the Finnish translation. They are marked the right way in the po file, so that’s not the problem. Is there a fix for this?

    Hi,

    Found a bypass using the Swiss Knife plugin. It should be fixed though!

    You can wait and see if Woo will update the language files, but if you don’t want to wait, various background reading and methods, including a plugin, are here.

    Here is one method. I am using Spanish as an example.

    Bring up wp-config.php in a text editor and look for the line:
    define(‘WPLANG’, ‘es_ES’);
    This will give you your language identifier, in this case its “es_ES”

    Go to wp-content/plugins/woocommerce/i18n/languages
    and look for:
    woocommerce-es_ES.po
    Rename it with a .txt extension so you can edit it.
    Add a pair of lines at the end for each form label translation. The first is the English that appears now, the second line is the translation in your language. For example:
    msgid “Company Name”
    msgstr “Nombre de compa?ía”

    Change the file back to .po and download it to your hard drive.
    Compile your .po to .mo using this tool:
    https://po2mo.net/
    The converted filename might be:
    h5673b_woocommerce_es_ES.mo
    change it to
    woocommerce-es_ES.mo
    Ensure you get the underscores and hyphens right.

    Upload the .mo to
    wp-content/plugins/woocommerce/i18n/languages
    overwriting the file that was there.

    If you have a page caching plugin, delete cached pages.

    Hi,

    The same problem is happening with the files available to pt_BR in version 2.1.11.

    The translation can be done without much difficulty through the plugin Codestyling Localization.

    1) Install the plugin;
    2) Go to the menu Tools > Translation;
    3) Find the Woocommerce files for your language;
    4) Run the command to the plugin analyze the Woocommerce files;
    5) Edit the file of translation, seeking punctually the terms you want to translate;
    6) Generate a new .mo file, using the button available at the top of translation screen.
    7) Test results and repepit the above steps, if necessary.

    Regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Translation of the form fields in checkout page’ is closed to new replies.