Languages
Last updated
Last updated
The app support multiple languages out of the box - at the moment the supported languages are
English
Spanish
French
German
By default English is the default language, if the shop/store doesn't have multiple language, then only English language string is used.
When customer selected Spanish at the frontend, then it will use the Spanish languages, if customer selected a languages not shown in here, it will default to English
The languages in here will not affect the text in the fields of the Form (e.g Product Name in the field will still be the same as form field title), it will only affect the frontend system languages like registered entries and button languages etc
Only English is used if there aren't multiple languages for the store
Its possible to have multiple languages for forms by create multiple forms (each form for each language), so English will have a English Form and French will have French form etc
Each form's field can be customize using different language for the field title/label
This is how the app work out the form for the specific language (assume requesting product registration form with Spanish)
Get the request language from the user/customer (whoever visit the page), if the customer using the language selector to selected a language, then it will send that language to the app
Check if the multiple language form is enabled or not, if not enable, then using the normal form
If the language requested is not English and the multiple language form is enabled, then it will try to get a form with the slug consist of [original-form-slug]-[language-code], e.g if the user requested product-registration, the form slug it will look for will be product-registration-es
If there is a form with slug product-registration-es, then it will serve that form, otherwise default back to the original product-registration form
Enable the multiple languages form in the App settings > General > Multiple language forms > Enable > Save
The form have to follow this rule - for a multiple language form, it will need to have the form slug to be original form slug name and then added with language code
e.g if you want to add Spanish to the product registration form (the product registration form will have slug product-registration), then you will need to create a new form name Product Registration ES (this will create a new form with slug product-registration-es)
Alternatively is possible to duplicate the original form and rename is in the Forms > Product Registration > Settings > Duplicate the form
Once the new form is create, go to the Form's Design and change the field title/label into the desired language
Go to the frontend /apps/product-registration, then change the language to Spanish and see if the Spanish form is loaded or not