Updated the translation files omise-ja.po and omise.mo with new Japanese traslation.
Updated the assets/javascripts/omise-payment-form-handler.js to converted the message received as API response to the Japanese language.
In includes/class-omise-wc-myaccount.php and includes/gateway/abstract-omise-payment-base-card.php, we added the required translation texts to the variable that needs to be passed to the JS file.
Quality assurance
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.
Objective
Add a few missing Japanese translation.
Jira Ticket: #324
Description of change
Updated the translation files
omise-ja.po
andomise.mo
with new Japanese traslation. Updated theassets/javascripts/omise-payment-form-handler.js
to converted the message received as API response to the Japanese language. Inincludes/class-omise-wc-myaccount.php
andincludes/gateway/abstract-omise-payment-base-card.php
, we added the required translation texts to the variable that needs to be passed to the JS file.Quality assurance
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.
đŸ”§ Environments: