Missing info about encoding in translations file

You think you have found a bug ? You've got a suggestion to modify PhotoFiltre ? /
Ĉu vi opinias vi trovis malbonadĵon ? Ĉu vi havas sugeston por modifi PhotoFiltre ?

Modérateur : Modérateurs

Répondre
scootergrisen
Nouveau(elle)|Nouveau|Nouvelle
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

Message par scootergrisen »

Where does it say what encoding the translations files should be in?
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12731
Inscription : 28 oct. 2003 22:49
Contact :

Re: Missing info about encoding in translations file

Message par Antonio »

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
scootergrisen
Nouveau(elle)|Nouveau|Nouvelle
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

Message par scootergrisen »

Encoding is the way the file is saved. Like UTF-8 or ISO-8895-1 or what ever.
So the characters show up correctly.
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12731
Inscription : 28 oct. 2003 22:49
Contact :

Re: Missing info about encoding in translations file

Message par Antonio »

save in ANSI mode only, like other updates :wink:
scootergrisen
Nouveau(elle)|Nouveau|Nouvelle
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

Message par scootergrisen »

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.
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12731
Inscription : 28 oct. 2003 22:49
Contact :

Re: Missing info about encoding in translations file

Message par Antonio »

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 : 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';
scootergrisen
Nouveau(elle)|Nouveau|Nouvelle
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

Message par scootergrisen »

I think you should write somewhere what encoding to use.
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12731
Inscription : 28 oct. 2003 22:49
Contact :

Re: Missing info about encoding in translations file

Message par Antonio »

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:
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12731
Inscription : 28 oct. 2003 22:49
Contact :

Re: Missing info about encoding in translations file

Message par Antonio »

don't forget before to set correctelly the windows langage settings for non unicode text
(set the danish langage in the advanced windows settings)
scootergrisen
Nouveau(elle)|Nouveau|Nouvelle
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

Message par scootergrisen »

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.
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12731
Inscription : 28 oct. 2003 22:49
Contact :

Re: Missing info about encoding in translations file

Message par Antonio »

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:
scootergrisen
Nouveau(elle)|Nouveau|Nouvelle
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

Message par scootergrisen »

charset and encoding are not the same as far as i know.
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12731
Inscription : 28 oct. 2003 22:49
Contact :

Re: Missing info about encoding in translations file

Message par Antonio »

possible but you can just add a comment in the translation file because it is not used :wink:
scootergrisen
Nouveau(elle)|Nouveau|Nouvelle
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

Message par scootergrisen »

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.
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12731
Inscription : 28 oct. 2003 22:49
Contact :

Re: Missing info about encoding in translations file

Message par Antonio »

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