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