cross-solution / YAWIK

YAWIK is a web application. It can be used as an ATS applicant tracking system or as a jobboard.
https://yawik.org
MIT License
126 stars 67 forks source link

data-placeholder is not translated in select2 form fields. #470

Closed cbleek closed 6 years ago

cbleek commented 6 years ago

It seems, that the value of data-placeholder is not translated in select2 form fields.

The code which should do the translation is located in:

https://github.com/cross-solution/YAWIK/blob/develop/module/Core/src/Core/Form/View/Helper/FormSelect.php

But as you can see in our demo at least in the JobsByMail Form and the Orders Settings form, the value is not translated.

Order Settings.

placeholder for Salutation is not translated

auswahl_999 840

Jobs By Mail form

Location is not translated

auswahl_999 839

cbleek commented 6 years ago

this was implemented in https://github.com/cross-solution/YAWIK/commit/304c104ed8e5b73c77d536ab44cb070b0b1c0b54

thanks to sergey