Poedit keygen1/3/2023 ![]() Self.letter_greeting = _('Dear %s %s,') % ( # translation "Estimado" Self.repr_recipient_id.title.shorcut, surname Self.letter_greeting = _('Dear %s %s,') % ( # the translation should be "Estimada" ![]() I have created a greeting field in the form which is filled programatically by an onchange event method. Imagine I have a report, a letter actually, which I need to translate to several languages. It works only with template files.Īnd worth noting that not every form widget templates use widget_attribute to format field attributes, so in some cases it needs to overload specific widget template blok. Const myString = `My variable value is: $īy this approach, we need change in one place and get translation for all title attributes in form fields.Īs I said, this do not resolve autogenerate '.po' files, because generator do can't get translation tags from PHP classes. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |