Osclass forums

Support forums => General help => 3.7.x => Topic started by: Aficionado on August 21, 2017, 06:39:09 pm

Title: Help with poedit
Post by: Aficionado on August 21, 2017, 06:39:09 pm
doing some cleanup/update, i updated my translated language of Osclass (not the theme language) via POEDIT.

Now i see several flagged messages with Orange with Need Work button. All those are translated but some seem out of sync (the translation seems to be for an other field). Some seem ok.


Any ideas what happened and what to do ?

Thanks
Title: Re: Help with poedit
Post by: marius-ciclistu on August 21, 2017, 10:25:32 pm
When you open that file with a text editor, those lines apear different from the "ok" ones?
Title: Re: Help with poedit
Post by: Aficionado on August 21, 2017, 10:33:23 pm
When you open that file with a text editor, those lines apear different from the "ok" ones?

I think those are the new ones from the update.

In an text editor they show normal but flagged as fuzzy. and with a commented out msgid

Code: [Select]
#: oc-includes/osclass/model/Category.php:602
#, fuzzy
#| msgid "Edit category"
msgid "Non-Existent Category"
Title: Re: Help with poedit
Post by: Aficionado on August 21, 2017, 10:43:49 pm
Ok, found with the help of google (little information, had to search some).

Some preferences in Poedit needed to be off while updating.

If anybody cares, all Translation memory options should be OFF.

 ;D
Title: Re: Help with poedit
Post by: marius-ciclistu on August 21, 2017, 10:47:11 pm
Ok. Nice that you've answered your self:) It happened to me also in some cases:)
Title: Re: Help with poedit
Post by: Aficionado on August 21, 2017, 10:51:00 pm
Ok. Nice that you've answered your self:) It happened to me also in some cases:)

Well, i solve myself most of the problems, with Osclass or the hosting part, still sometimes i fail.

I had an localized Osclass that needed to be updated but now all ok.
Title: Re: Help with poedit
Post by: Liath on August 21, 2017, 11:22:05 pm
i think its just a new feature of poedit, i had this often with my plugins


if poedit cannot find any translation for a string, the programm "suggest" the most common translation from the memory and marks it orange with the hint to check this...


also it marks every line that doesnt start/end correct...
e.g. if a string ends with a dot and the translation not, the programm will show you a warning about that


i like it :)