Lokalize/fr: Difference between revisions
(Created page with "==Trucs et astuces==") |
(Created page with "=== Rechercher dans des fichiers ===") |
||
Line 52: | Line 52: | ||
==Trucs et astuces== | ==Trucs et astuces== | ||
=== | === Rechercher dans des fichiers === | ||
Translation Memory (TM) now keeps track of where each translation pair came from. So when you want to <menuchoice>search</menuchoice> for string in the files on disk, you just drag the directory with those files onto <menuchoice>translation memory</menuchoice> tab (<keycap>F7</keycap>) to update TM, wait a minute or two, then type your string into right field of <menuchoice>Translation Memory tab</menuchoice>, then press <keycap>Enter</keycap>. | Translation Memory (TM) now keeps track of where each translation pair came from. So when you want to <menuchoice>search</menuchoice> for string in the files on disk, you just drag the directory with those files onto <menuchoice>translation memory</menuchoice> tab (<keycap>F7</keycap>) to update TM, wait a minute or two, then type your string into right field of <menuchoice>Translation Memory tab</menuchoice>, then press <keycap>Enter</keycap>. |
Revision as of 19:43, 11 December 2010
Template:I18n/Language Navigation Bar
Lokalize est l'outil de traduction 'localisation' pour KDE4 |
Il remplace KBabel qui n'est plus maintenu.
Plus d'informations sur Lokalize sont disponibles sur la page du "Summer of Code" de Lokalize :
http://techbase.kde.org/Projects/Summer_of_Code/2007/Projects/KAider
== Lokalize sous Windows ==
Installer KDE en utilisant kdewin-installer:
http://www.winkde.org/pub/kde/ports/win32/installer/kdewin-installer-gui-latest.exe
Laissez par défaut dans toutes les étapes, sauf la liste des paquets.
Dans la liste des paquets sélectionnez
(Toutes les dépendances seront installées automatiquement). Kdewin-installation Terminer le processus.
Détails techniques: vous installez KDE 4.3 ou ultérieure de façon standard,
puis ajoutez les binairesLokalize'sur mesure et des données compilées.
Compiler Lokalize à partir de trunk
Installer le paquet kdelibs headers correspondant à votre distribution (par exemple, pour Debian c'est kdelibs5-dev). Puis:
svn checkout --depth=files svn://anonsvn.kde.org/home/kde/trunk/KDE/kdesdk/
ou
svn checkout --depth=files svn+ssh://[email protected]/home/kde/trunk/KDE/kdesdk
et
cd kdesdk && svn up cmake doc lokalize mkdir build cd build mkdir $HOME/mykde cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/kde43 -DCMAKE_BUILD_TYPE=RelWithDebInfo cd lokalize make -j2 make install
Puis exécutez Lokalize via $HOME/kde43/bin/lokalize
Trucs et astuces
Rechercher dans des fichiers
Translation Memory (TM) now keeps track of where each translation pair came from. So when you want to F7) to update TM, wait a minute or two, then type your string into right field of , then press Enter.
for string in the files on disk, you just drag the directory with those files onto tab (Then you click on one of results and this opens appropriate file, on the appropriate entry. When you want to do another search during the same day, you skip the updating step and just type what you're searching for. You can filter TM search results by filename using the field left side of the F7 panel ( ).
Author
Nick Shaforostoff <shaforostoff AT kde.ru>