Imaginaerum / magento2-language-fr-fr

Magento 2 - French (France) language pack (fr_fr)
http://imaginaerum.github.io/magento2-language-fr-fr/
MIT License
40 stars 32 forks source link

Form validation messages not translated #1151

Open nallias opened 6 years ago

nallias commented 6 years ago

Hi all,

My problem is somewhat related to https://github.com/Imaginaerum/magento2-language-fr-fr/issues/1064 yet different:

Where are the translations of these lines?

"Minimum length of this field must be equal or greater than %1 symbols. Leading and trailing spaces will be ignored." "Minimum of different classes of characters in password is %1. Classes of characters: Lower Case, Upper Case, Digits, Special Characters."

Which are called in

vendor/magento/magento2-base/lib/web/mage/validation.js vendor/magento/module-ui/view/base/web/js/lib/validation/rules.js

I tried to add them manually to dictionary.csv then rm -rf pub/static/ var/view_preprocessed/ ; cache clear ; setup:static-content:deploy fr_FR

Until there, I successfully added/edited existing many translations, but those two lines are quite elusive.

Update: I have attempted tadhgbowe procedure of overriding vendor/magento/module-translation/Model/Json/PreProcessor.php with a custom module which is sum up in siphor.com, hence copying the translation lang into the theme, without success up to now.

Any clue is welcome