Missing info about encoding in translations file
Modérateur : Modérateurs
-
- Nouveau(elle)|Nouveau|Nouvelle
- Messages : 49
- Inscription : 08 janv. 2011 20:55
- Système d'exploitation : Windows 7
Missing info about encoding in translations file
Where does it say what encoding the translations files should be in?
-
- Administrateur(trice)|Administrateur|Administratrice
- Messages : 12835
- Inscription : 28 oct. 2003 22:49
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
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
-
- Nouveau(elle)|Nouveau|Nouvelle
- Messages : 49
- Inscription : 08 janv. 2011 20:55
- Système d'exploitation : Windows 7
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.
So the characters show up correctly.
-
- Administrateur(trice)|Administrateur|Administratrice
- Messages : 12835
- Inscription : 28 oct. 2003 22:49
Re: Missing info about encoding in translations file
save in ANSI mode only, like other updates
-
- Nouveau(elle)|Nouveau|Nouvelle
- Messages : 49
- Inscription : 08 janv. 2011 20:55
- Système d'exploitation : Windows 7
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.
Maybe this should be added to the files like in TrEncoding so you and translators know what encoding the file is saved in.
-
- Administrateur(trice)|Administrateur|Administratrice
- Messages : 12835
- Inscription : 28 oct. 2003 22:49
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
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
Windows-1252? is for non unicode setting, only for client PC, not for the plg
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 : Tout sélectionner
// 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';
-
- Nouveau(elle)|Nouveau|Nouvelle
- Messages : 49
- Inscription : 08 janv. 2011 20:55
- Système d'exploitation : Windows 7
Re: Missing info about encoding in translations file
I think you should write somewhere what encoding to use.
-
- Administrateur(trice)|Administrateur|Administratrice
- Messages : 12835
- Inscription : 28 oct. 2003 22:49
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
Because i don't understand why it is a problem for you this time
-
- Administrateur(trice)|Administrateur|Administratrice
- Messages : 12835
- Inscription : 28 oct. 2003 22:49
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)
(set the danish langage in the advanced windows settings)
-
- Nouveau(elle)|Nouveau|Nouvelle
- Messages : 49
- Inscription : 08 janv. 2011 20:55
- Système d'exploitation : Windows 7
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.
And what newline to use and stuff like that.
-
- Administrateur(trice)|Administrateur|Administratrice
- Messages : 12835
- Inscription : 28 oct. 2003 22:49
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
you can use the TrCharset variable but it is not used by the programm, it's only for information for the translator
-
- Nouveau(elle)|Nouveau|Nouvelle
- Messages : 49
- Inscription : 08 janv. 2011 20:55
- Système d'exploitation : Windows 7
Re: Missing info about encoding in translations file
charset and encoding are not the same as far as i know.
-
- Administrateur(trice)|Administrateur|Administratrice
- Messages : 12835
- Inscription : 28 oct. 2003 22:49
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
-
- Nouveau(elle)|Nouveau|Nouvelle
- Messages : 49
- Inscription : 08 janv. 2011 20:55
- Système d'exploitation : Windows 7
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.
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.
-
- Administrateur(trice)|Administrateur|Administratrice
- Messages : 12835
- Inscription : 28 oct. 2003 22:49
Re: Missing info about encoding in translations file
of course, but you need unicode compiler like new version of delphi (XE or Lazarus but Delphi 7 don't support that