Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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.
    #628597

    ok – 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.
    #628598

    hm not completely solved:

    On name and e-mail input field it is o.k. on the others not ???

    see private link

    #628601

    on class-form-generator.php on line 360 the title is set a bit different to the other abbr.
    Maybe this causes the fault ?

    #628607

    ok 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 fields

    the
    $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 !

    #628717

    Hi!

    Added to our git, so it can be updated on a next version.
    Thanks a lot for pointing it out.

    Regards,
    Basilis

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.