Changes between Version 10 and Version 11 of Translating


Ignore:
Timestamp:
09/03/09 14:47:22 (4 years ago)
Author:
skamster
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Translating

    v10 v11  
    138138Then you should found it some folders in data/po/ with language-shortnames (as example "de"). And in this folder you should find a file called shr-settings.po . 
    139139 
     140== Translate .desktop-files == 
     141.desktop-files are all the files which are on the desktop. :) You found them in /usr/share/applications . 
     142A normal structure looks like this: 
     143{{{ 
     144[Desktop Entry] 
     145Name=GPS & Map 
     146Comment=Display map and GPS position 
     147Encoding=UTF-8 
     148Version=1.0 
     149Type=Application 
     150Exec=tangogps 
     151Icon=tangogps 
     152Terminal=false 
     153Categories=GTK;Application;PIM 
     154SingleInstance=true 
     155StartupNotify=true 
     156}}} 
     157Name=GPS & Map means the Name which is showed. You could translate this easy, just add 
     158{{{ 
     159Name[language-shortcut]]=translated text 
     160}}} 
     161As example, for german 
     162{{{ 
     163[Desktop Entry] 
     164Name=GPS & Map 
     165Name[de]=GPS & Karte 
     166Comment=Display map and GPS position 
     167Encoding=UTF-8 
     168Version=1.0 
     169Type=Application 
     170Exec=tangogps 
     171Icon=tangogps 
     172Terminal=false 
     173Categories=GTK;Application;PIM 
     174SingleInstance=true 
     175StartupNotify=true 
     176}}} 
     177The same with comments, a translatet & untranslatet comment looks like that 
     178{{{ 
     179Comment=Display map and GPS position 
     180Comment[de]=Zeigt Karte und GPS-Position 
     181}}} 
     182 
    140183== 1. Obtaining the source code == 
    141184