Changes between Version 1 and Version 2 of Documentation/DevelopingForXinha/Translating


Ignore:
Timestamp:
08/05/05 09:52:26 (14 years ago)
Author:
niko
Comment:

added information on resource-translation (#39)

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/DevelopingForXinha/Translating

    v1 v2  
    3838   [http://xinha.python-hosting.com/newticket new ticket] and attach a zip-file 
    3939   with all your langauge-files) 
     40 
     41== resources (button_*) == 
     42It is possible to localize several toolbar-buttons (bold, italic, etc.). 
     43To do that you must provide a translation for the button_bold, button_italic, etc. keys in the core-langauge-file. 
     44 
     45=== Possibility 1: one image for every button === 
     46 
     47 * copy your localized button-images to eg. images/de/bold.gif 
     48 * in the language-file enter: "button_bold": "de/bold.gif" 
     49 
     50=== Possibility 2: using and image-map === 
     51 
     52 * create a localized image-map (like ed_buttons_main.gif) (only with the localized icons, the others still will be taken from ed_buttons_main.gif!) 
     53 * in the langauge-file enter somthing like: "button_bold": ["de_buttons.gif", 0, 0] 
     54