PhotoFiltre
http://www.photofiltre-studio.com/forum/

Missing info about encoding in translations file
http://www.photofiltre-studio.com/forum/viewtopic.php?f=15&t=21514
Page 1 of 1

Author:  scootergrisen [ 31 Mar 2016 17:27 ]
Post subject:  Missing info about encoding in translations file

Where does it say what encoding the translations files should be in?

Author:  Antonio [ 01 Apr 2016 8:11 ]
Post subject:  Re: Missing info about encoding in translations file

don't understand the question ?
you received the .pas file i sent to you ?
just translate the end of the file (part 1.17) and send me it again to compile

Author:  scootergrisen [ 01 Apr 2016 12:12 ]
Post subject:  Re: Missing info about encoding in translations file

Encoding is the way the file is saved. Like UTF-8 or ISO-8895-1 or what ever.
So the characters show up correctly.

Author:  Antonio [ 01 Apr 2016 17:51 ]
Post subject:  Re: Missing info about encoding in translations file

save in ANSI mode only, like other updates :wink:

Author:  scootergrisen [ 04 Apr 2016 12:13 ]
Post subject:  Re: Missing info about encoding in translations file

Do you mean Windows-1252?
Maybe this should be added to the files like in TrEncoding so you and translators know what encoding the file is saved in.

Author:  Antonio [ 04 Apr 2016 14:34 ]
Post subject:  Re: Missing info about encoding in translations file

We do like this until this day and it will work, why do you want to change today ?
Windows-1252? is for non unicode setting, only for client PC, not for the plg :wink:

Just translate the part 1.17 in notepad (not wordpad or other). Save in ANSI and send me only this new strings, i will merge and compil the .pas
Code:
// 1.17
TrLblDivide = 'Divide';
TrLblLighten = 'Lighten'; //  Dodge
TrLblDarken = 'Darken';   // burn
TrLblMergeHLight = 'Hard light';
TrLblMergeSLight = 'Soft light';
TrLblMergeAddition = 'Addition';
TrLblMergeSubstract = 'Substract';
TrLblMergeGExtract = 'Grain extract';
TrLblMergeGMerge = 'Grain merge';
TrLblMergeGDarken = 'Gamma -';
TrLblMergeGLighten = 'Gamma +';
TrLblMergeGHLight = 'Gamma light';
TrLblRatioScreen = 'Screen ratio';
TrMnuMicroContrast = 'Micro contrast';
TrMnuHighPass = 'High pass';

Author:  scootergrisen [ 05 Apr 2016 13:47 ]
Post subject:  Re: Missing info about encoding in translations file

I think you should write somewhere what encoding to use.

Author:  Antonio [ 05 Apr 2016 15:37 ]
Post subject:  Re: Missing info about encoding in translations file

Are you the same translator who updated the previous version ?
Because i don't understand why it is a problem for you this time :roll:

Author:  Antonio [ 06 Apr 2016 8:34 ]
Post subject:  Re: Missing info about encoding in translations file

don't forget before to set correctelly the windows langage settings for non unicode text
(set the danish langage in the advanced windows settings)

Author:  scootergrisen [ 06 Apr 2016 17:42 ]
Post subject:  Re: Missing info about encoding in translations file

Yes its me that translated before and its not a problem, i just think its a good idea to write some where what encoding to use.
And what newline to use and stuff like that.

Author:  Antonio [ 06 Apr 2016 19:34 ]
Post subject:  Re: Missing info about encoding in translations file

Ok, not understanded correctely the problem.
you can use the TrCharset variable but it is not used by the programm, it's only for information for the translator :wink:

Author:  scootergrisen [ 07 Apr 2016 15:13 ]
Post subject:  Re: Missing info about encoding in translations file

charset and encoding are not the same as far as i know.

Author:  Antonio [ 08 Apr 2016 8:36 ]
Post subject:  Re: Missing info about encoding in translations file

possible but you can just add a comment in the translation file because it is not used :wink:

Author:  scootergrisen [ 08 Apr 2016 12:11 ]
Post subject:  Re: Missing info about encoding in translations file

My point is that if you dont have control over what encoding are used characters might not be showed correctly.

Like in my language we use æøå and if you dont give instructions as to what encoding to use and you dont know what encoding the file is using some characters like æøå might not be showed correctly.

Author:  Antonio [ 08 Apr 2016 15:22 ]
Post subject:  Re: Missing info about encoding in translations file

of course, but you need unicode compiler like new version of delphi (XE 8) or Lazarus but Delphi 7 don't support that :wink:

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/