Ensure the folder is set up at:
wp-content/languages/loco/plugins/
and make sure its writable by the server
Make sure there is a template file at
wp-content/plugins/woocommerce-subscriptions/languages/woocommerce-subscriptions.pot
I think there must be, but you’ll get a warning if not.
Early on, when you get to the setup a new language screen, choose the custom location, not the author location as shown in your video.
After you have translated a string and done a “save”, have a look in the directory you made earlier and make sure it contains:
wp-content/languages/loco/plugins/woocommerce-subscriptions.po
wp-content/languages/loco/plugins/woocommerce-subscriptions.mo
If they are not there, probably the directory is not writable.
You don’t need the sync button unless you get a future update for WooCommerce Subscriptions and you get a warning that the “.po file no longer matches the template”
The translation for
%s month
is
%s maned
not
maned
the %s has to be there as a placeholder for the value which will be added at runtime.
The string you want to translate might not be %s month, it might be
%s / month and a %s sign-up-fee
there seem to be several similar ones
See:
https://localise.biz/wordpress/plugin/beginners
Unfortunately I don’t have access to WooCommerce Subscriptions as its a commercial plugin, so I can’t try this myself. Did it come with support? The vendor’s support service may be able to help further.
-
This reply was modified 8 years, 1 month ago by
Majeed Raza.