Tagged: CONTACT FORM, kriesi
-
AuthorPosts
-
May 7, 2016 at 12:09 pm #628589
i work on a german wordpress and all translations work well on the theme – those which weren’t translated or i want to have a different translation in the po file i translated myself.
But if you have a required field on mail form that little star hovering by the mouse allways shows “required” and not the translation – allthough it is in the po file ?
btw: the scroll to top button in footer shows the translated title – but on contact form
is the translation case-sensitive ? because only the “Required” is translated in po-file not the “required” ???
- This topic was modified 8 years, 7 months ago by Guenni007.
May 7, 2016 at 1:31 pm #628597ok – it seems to be a conflict between pot file (required) and po translated files.
in english the required is written with small letters (not capitalized first letter)
if you load f.e. in po-edit the po file you have to synchronize the po file with the pot file.
The existing “Required” Translation is lost then because on pot File there is only a “required” phrase.
Translate that required to your own translated file – it will than correctly show the translated title if you hover that little star !Edit: there has to be both the “Required” and “required”
- This reply was modified 8 years, 7 months ago by Guenni007.
May 7, 2016 at 1:38 pm #628598hm not completely solved:
On name and e-mail input field it is o.k. on the others not ???
see private link
May 7, 2016 at 1:57 pm #628601on class-form-generator.php on line 360 the title is set a bit different to the other abbr.
Maybe this causes the fault ?May 7, 2016 at 2:25 pm #628607ok it seem that on class-form-generator.php the line 360 is correct but the other required fields are not !
$required = ' <abbr class="required" title="'.__( 'required', 'avia_framework' ).'">*</abbr>';
seems to be neccessary on all$required
fieldsthe
$required = ' <abbr class="required" title="required">*</abbr>';
on line 418, 539, 576, 655, 722 does not end in a translatable title. the definition above does !May 7, 2016 at 10:57 pm #628717Hi!
Added to our git, so it can be updated on a next version.
Thanks a lot for pointing it out.Regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.