Updated the translation files omise-ja.po and omise.pot include missing Japanese translation. The file omise-ja.mo is updated accordingly. Some files are updated to use the __() to get the translated text.
First, change site language to Japanese. You can follow this link for assistance. Now, you must replace the omise-ja.po and omise-ja.mo present in the container's folder var/www/html/wp-content/languages/plugins. Assuming you are in the root of our omise-woocommerce plugin, use the following command to copy omise-ja.po and omise-mo inside docker container.
1. Objective
Change the English text in the error message and the email to Japanese text.
Jira Ticket #1472
2. Description of change
Updated the translation files
omise-ja.po
andomise.pot
include missing Japanese translation. The fileomise-ja.mo
is updated accordingly. Some files are updated to use the__()
to get the translated text.https://developer.wordpress.org/plugins/internationalization/localization/#command-line
3. Quality assurance
First, change site language to Japanese. You can follow this link for assistance. Now, you must replace the
omise-ja.po
andomise-ja.mo
present in the container's foldervar/www/html/wp-content/languages/plugins
. Assuming you are in the root of ouromise-woocommerce
plugin, use the following command to copyomise-ja.po
andomise-mo
inside docker container.For error message
Case 1: All fields empty
Case 2: Blank name field
Case 3: Blank email field
Case 4: Blank phone number field
Case 5: Blank email and phone number fields
Case 6: Blank name and phone number fields
Case 7: Blank name and email fields
For email
Thank you page
Email
🔧 Environments: