[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: extract the untranslated words



> Munzir, sorry for the delay in getting back to ya.  Here's a quickie
> perl one-liner that extracts the words you note.  Let me know if you
> need something a bit more elaborate (or a full-fledged script) - that
> would be the least I can do to continue your _outstanding_ work,

Thanks a lot Nadim. It works and it will help me a lot. Thanks also for the 
encouragement which I need it from time to time ;-)
>
>   perl -n -e 'if (/^msgid\s+"(.*)"/) { $word = $1; next; } \
>               if (/^msgstr\s+"\s*"/) { print "$word\n"; }'
> full_wordlist_M.po
>
> NOTE: the above is actually ONE line (remove the \ at the end of the
>       first line and paste both lines onto your command-line).
>
> Keep the progress coming...
I will Inshallah

-- 
Munzir Taha
Telecommunications Engineer
MOUS, CIW.
New Horizons CLC
Riyadh, SA
-- 
Munzir Taha
Telecommunications Engineer
MOUS, CIW.
New Horizons CLC
Riyadh, SA