Re: where to find a string

Catalin Florin RUSSEN <cfrussen-/[email protected]> Mon, 14 Jun 2010 14:42:36 +0000 (GMT)
Newsgroups gmane.linux.mandrake.cooker.internationalization
Message-ID <[email protected]>
Open Kate (KDE advanced text editor) and search the string in the .po files in your svn-mandriva local copy. This is what I'm doing.
You can aslo torture yourself with the command line, but I can't help you with that. But here's what you find in the translator's wiki section:
(http://wiki.mandriva.com/en/Tips_for_translators)

grep 
+ To search for a specific string, in all 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  

Cheers!
Florin Catalin RUSSEN
Romanian Translation Team



----- Original Message ----
From: Dimitrios Glentadakis <[email protected]>
To: cooker-i18n <cooker-i18n-4qZELD6FgxheH41UXmfQsti2O/[email protected]>
Sent: Sun, 13 June, 2010 16:57:56
Subject: [i18n] where to find a string

I search the string "Connexion failed" in the login (kdm)

Thanks


Dimitris