Tips for translators

From Mandriva Community Wiki

Jump to: navigation, search


+ To search for a specific string, in the ".po" files of your language, within your local svn repository, ...

point your terminal to the svn directory...

cd /path/to/svn-mandriva/


search...

grep -li 'string text' */xx.po

where...
grep the search utility
-l list the files containing the given text
i ignore uper/lower case
'string text' the text in question
*/ any subdirectory (1 level depth)
xx the 2+ letters of your language



+ To search for a specific string, in any type of file, within a folder, and it's subfolders, ...


grep -lir 'string text' *

where (aditionaly)...
r search subfolders
* any type of file
Personal tools