contact-form icon indicating copy to clipboard operation
contact-form copied to clipboard

Chinese site show error messages in English

Open billmn opened this issue 4 years ago • 0 comments

Description

With a site that use Chinese language (zh or any zh-* variation), error messages are in english.

For example, I have created 3 sites: English, Italian and Chinese:

Schermata 2020-11-07 alle 18 08 58

Added the example form in the template from the readme of this repo and submit leaving all fields empty.


ITALIAN: Submit to http://domain.ext/it show translated error messages in italian 👍 Schermata 2020-11-07 alle 18 15 31


CHINESE: Submit to http://domain.ext/zh show translated error messages in english ❌ Schermata 2020-11-07 alle 18 15 43


Steps to reproduce

  1. Create a site that use Chinese as language
  2. Try to submit using the example form in the readme of this repo, leaving all fields empty

Additional info

  • Craft version: 3.5.15.1
  • PHP version: 7.4.8
  • Contact Form: 2.2.7

billmn avatar Nov 07 '20 17:11 billmn