ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Print Preview Dialog
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Boban

Yugoslavia
41 Posts

Posted - Nov 22 2012 :  18:19:34  Show Profile  Reply
Hi

How do I change the language in the print dialog?


w2m

USA
1990 Posts

Posted - Nov 22 2012 :  19:22:01  Show Profile  Reply
property MsgLanguage: TMsgLanguage;

This property sets the language for Input/output previews (DoPreviews) and print dialogs (DoPrintPreviewDialog).

Example
ImageEnView1.IO.MsgLanguage:=msEnglish;
// This is the default
William Miller
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page

xequte

38615 Posts

Posted - Nov 23 2012 :  02:18:27  Show Profile  Reply
Hi

You may also need to edit the relevant strings for your language in iewords.pas and recompile the source.

Please also send us your translations and we will include them in the next release.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

Boban

Yugoslavia
41 Posts

Posted - Nov 24 2012 :  06:31:34  Show Profile  Reply
Hi

I need a translation into Serbian.
Can it be changed to (iewords.pas) or has any other solution?

I changed the Serbian but still no change.
----------------------------------------------------------------
resourcestring
Str_IEMSG_PREVIEW = 'Pregled';
Str_IEMSG_SOURCE = 'Original';
Str_IEMSG_RESULT = 'Rezultat';
Str_IEMSG_OK = 'U redu';
Str_IEMSG_CANCEL = 'Otkaži';
Str_IEMSG_LOCKPREVIEW = 'Zaklju#269;aj pregled';
Str_IEMSG_COPYRESULTTOSOURCE = 'Kopirajte rezultate u originalu';
Str_IEMSG_CONTRAST = 'Kontrast';
Str_IEMSG_BRIGHTNESS = 'Bistrina';
Str_IEMSG_HUE = 'Nijansa';
Str_IEMSG_SATURATION = 'Zasi#263;enje';
Str_IEMSG_VALUE = 'Vrednost';
Str_IEMSG_BASECOLOR = 'Osnovna boja';
Str_IEMSG_NEWCOLOR = 'Nova boja';
Str_IEMSG_LUMINOSITY = 'Osvetljenje';
Str_IEMSG_RED = 'Crvena';
Str_IEMSG_GREEN = 'Zelena';
Str_IEMSG_BLUE = 'Plava';
Str_IEMSG_FILTERVALUES = 'Filter vrednosti';
Str_IEMSG_PRESETS = 'Podesi';
Str_IEMSG_DIVISOR = 'Delilac';
Str_IEMSG_LOAD = 'U#269;itaj';
Str_IEMSG_SAVE = 'Sa#269;uvaj';
Str_IEMSG_EQUALIZATION = 'Ujedna#269;eno';
Str_IEMSG_THRESHOLD = 'Pocetak';
Str_IEMSG_EQUALIZE = 'Izjednaci';
Str_IEMSG_HISTOGRAM = 'Histogram';
Str_IEMSG_GRAY = 'Siva';
Str_IEMSG_LIGHT = 'Svetlost';
Str_IEMSG_LEFT = 'Levo';
Str_IEMSG_TOP = 'Gore';
Str_IEMSG_WIDTH = 'Širina';
Str_IEMSG_HEIGHT = 'Visina';
Str_IEMSG_COLOR = 'Boja';
Str_IEMSG_SOURCEIMAGEQUANTITY = 'Originalni kvantitet slike';
Str_IEMSG_LENS = 'Objektiv';
Str_IEMSG_REFRACTION = 'Prelamanje';
Str_IEMSG_PARAMETERSPREVIEW = 'Pregled parametra';
Str_IEMSG_QUALITY = 'Kvalitet';
Str_IEMSG_DCTMETHOD = 'DCT metod';
Str_IEMSG_SMOOTHINGFACTOR = 'Faktor poravnjanja';
Str_IEMSG_GRAYSCALE = 'Siva skala';
Str_IEMSG_OPTIMALHUFFMAN = 'Optimal Huffman';
Str_IEMSG_ORIGINALSIZE = 'Originalna veli#269;ina';
Str_IEMSG_COMPRESSEDSIZE = 'Kompresovana veli#269;ina';
Str_IEMSG_ADVANCED = 'Napredno';
Str_IEMSG_PROGRESSIVE = 'Progresivan';
Str_IEMSG_COMPRESSION = 'Kompresija';
Str_IEMSG_IMAGEINDEX = 'Slika indeksa';
Str_IEMSG_PHOTOMETRIC = 'Fotometrijski';
Str_IEMSG_SCANNDEDDOCUMENTINFO = 'Skeniranje info dokumenta';
Str_IEMSG_NAME = 'Naziv';
Str_IEMSG_DESCRIPTION = 'Opis';
Str_IEMSG_PAGENAME = 'Naziv stranice';
Str_IEMSG_PAGENUMBER = 'Broj stranice';
Str_IEMSG_OF = 'od';
Str_IEMSG_HORIZPOSITIONINCH = 'Horizontalna pozicija (in#269;)';
Str_IEMSG_VERTPOSITIONINCH = 'Vertikalna pozicija (in#269;)';
Str_IEMSG_COLORS = 'Boje';
Str_IEMSG_TRANSPARENT = 'Transparentna';
Str_IEMSG_TRANSPARENTCOLOR = 'Transparentna boja';
Str_IEMSG_INTERLACED = 'Prepleteno';
Str_IEMSG_BACKGROUND = 'Pozadina';
Str_IEMSG_HORIZPOSITION = 'Horizontalna pozicija';
Str_IEMSG_VERTPOSITION = 'Vertikalna pozicija';
Str_IEMSG_DELAYTIME = 'Odloženo vreme';
Str_IEMSG_FILTER = 'Filter';
Str_IEMSG_WAVE = 'Talas';
Str_IEMSG_AMPLITUDE = 'Amplituda';
Str_IEMSG_WAVELENGTH = 'Talasna dužina';
Str_IEMSG_PHASE = 'Faza';
Str_IEMSG_REFLECTIVE = 'Refleksija';
Str_IEMSG_USERFILTER = 'Korisnik filter';
Str_IEMSG_MORPHFILTER = 'Morphing filter';
Str_IEMSG_WINDOWSIZE = 'Veli#269;ina prozora';
Str_IEMSG_MAXIMUM = 'Maksimum';
Str_IEMSG_MINIMUM = 'Minimum';
Str_IEMSG_OPEN = 'Otvaranje';
Str_IEMSG_CLOSE = 'Završavanje';
Str_IEMSG_ROTATE = 'Rotiranje';
Str_IEMSG_FLIP = 'Flip';
Str_IEMSG_FLIPHOR = 'Horizontalno';
Str_IEMSG_FLIPVER = 'Verticalno';
Str_IEMSG_FREQUENCYDOMAINIMAGE = 'Frekvencija oblasti slike';
Str_IEMSG_SELECTTHEREGIONTOCLEAR = 'Izaberite region za #269;iš#263;enje';
Str_IEMSG_CLEAR = 'Ukloni';
Str_IEMSG_RESET = 'Resetuj';
Str_IEMSG_ANIMATE = 'Animirano';
Str_IEMSG_LOADFILTER = 'U#269;itaj filter';
Str_IEMSG_SAVEFILTER = 'Sa#269;uvaj filter';
Str_IEMSG_BUMPMAP = 'Ispup#269;ena mapa';
Str_IEMSG_PRINT = 'Štampaj';
Str_IEMSG_MARGINS = 'Margine';
Str_IEMSG_INCHES = 'in#269;i';
Str_IEMSG_RIGHT = 'Desno';
Str_IEMSG_BOTTOM = 'Dole';
Str_IEMSG_POSITION = 'Pozicija';
Str_IEMSG_SIZE = 'Veli#269;ina';
Str_IEMSG_NORMAL = 'Normalan';
Str_IEMSG_FITTOPAGE = 'Podešeno na stranici';
Str_IEMSG_STRETCHTOPAGE = 'Razvu#269;eno na stranici';
Str_IEMSG_SPECIFIEDSIZE = 'Odredjena veli#269;ina';
Str_IEMSG_GAMMACORRECTION = 'Gama korekcija';
Str_IEMSG_VALUE2 = 'Vrednost';
Str_IEMSG_PRINTSETUP = 'Podešavanje štampa#269;a';
Str_IEMSG_LEFTMARGIN = 'Leva margina';
Str_IEMSG_TOPMARGIN = 'Gornja margina';
Str_IEMSG_RIGHTMARGIN = 'Desna margina';
Str_IEMSG_BOTTOMMARGIN = 'Donja margina';
Str_IEMSG_LOCATIONSIZE = 'Veli#269;ina i lokacija';
Str_IEMSG_TOPLEFT = 'Gore levo';
Str_IEMSG_TOPCENTER = 'Gore centar';
Str_IEMSG_TOPRIGHT = 'Gore desno';
Str_IEMSG_CENTERLEFT = 'Centar levo';
Str_IEMSG_CENTER = 'Centar';
Str_IEMSG_CENTERRIGHT = 'Centar desno';
Str_IEMSG_BOTTOMLEFT = 'Dole levo';
Str_IEMSG_BOTTOMCENTER = 'Dole centar';
Str_IEMSG_BOTTOMRIGHT = 'Dole desno';
Str_IEMSG_CLOSE2 = 'Zatvori';
Str_IEMSG_APPLY = 'Primeni';
Str_IEMSG_MEASUREUNITS = 'Mera';
Str_IEMSG_UNITS = 'Jedinice';
Str_IEMSG_RATE = 'Procena';
Str_IEMSG_ALLGRAPHICS = 'Sve grafike';
Str_IEMSG_VIDEOFORWINDOWS = 'Video za windows';
Str_IEMSG_FILE = 'Datoteka';
Str_IEMSG_MEM = 'Memorija'; // Mem.ory
Str_IEMSG_LOCKPREVIEWHINT = 'Automatski ažurira svoj prikaz sa promenama koje ste izabrali';
Str_IEMSG_PRINTALL = 'Štampaj sve';
Str_IEMSG_PRINTSELECTED = 'Izaberi za štampanje';
Str_IEMSG_COMMONGRAPHICFILES = 'Zajedni#269;ke grafi#269;ke datoteke';
Str_IEMSG_ALLFILES = 'Sve datoteke';
Str_IEMSG_HSV = 'HSV';
Str_IEMSG_HSL = 'HSL';
Str_IEMSG_RGB = 'RGB';
Str_IEMSG_FFT = 'FFT';
Str_IEMSG_SHARPEN = 'Izoštreno';
Str_IEMSG_CHANNELS = 'Kanali';
Str_IEMSG_PIXEL = 'pikseli';
Str_IEMSG_FRAMES = 'okviri';
Str_IEMSG_BIT = 'bit';
Str_IEMSG_BYTE = 'bajt';
Str_IEMSG_DPI = 'dpi';
Str_IEMSG_KB = 'KB'; // kilobyte (KB)
Str_IEMSG_FIT = 'Pogodno';
Str_IEMSG_OTHER = 'Drugi';
Str_IEMSG_COLUMNS = 'Kolone';
Str_IEMSG_ROWS = 'Redovi';
Str_IEMSG_STYLE = 'Stil';
Str_IEMSG_SPACING = 'Proredjeno';
Str_IEMSG_SELECTACQUIREDEVICE = 'Izaberite uredjaj';
Str_IEMSG_SELECTANACQUISITIONDEVICE = 'Izaberite uredjaj za akviziciju';
str_IEMSG_Page_X_of_X = 'Stranica %d od %d';
str_IEMSG_X_Pages = '%d stranice';
str_IEMSG_Previous = 'Prethodna';
str_IEMSG_Next = 'Slede#263;a';
Go to Top of Page

xequte

38615 Posts

Posted - Nov 25 2012 :  23:25:55  Show Profile  Reply
Hi Boban

Yes, you need to edit iewords.pas, but ensure you modify it like this:


IESetTranslationWord(msUser,IEMSG_PREVIEW,'Pregled');
IESetTranslationWord(msUser,IEMSG_SOURCE,'Original');
IESetTranslationWord(msUser,IEMSG_RESULT,'Rezultat');

And then set the language to msUser.

Please also email us your changes.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

Boban

Yugoslavia
41 Posts

Posted - Nov 28 2012 :  19:04:58  Show Profile  Reply
Hi Nigel

I sent you the e-mail to (zip archive) iewords.pas which I translated in Serbian language and verified, and the change works for me. Tell me if you got my e-mail and if you are not sure about this translation.
Go to Top of Page

xequte

38615 Posts

Posted - Nov 29 2012 :  00:08:29  Show Profile  Reply
Thank you,

I received them today and will integrate them into the code.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: