Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-27-2006, 05:07 AM   #1
LQ Newbie
Registered: Aug 2005
Location: Grimstad, Norway
Distribution: Ubuntu 6.06 Dapper Drake
Posts: 3

Rep: Reputation: 0
xgettext: How to parse entire directory structure (dirs/subdirs)

I've started on a PHP project, and am using GNU Gettext to translate my scripts into other languages. The problem is that my project contains several directories and subdirectories (and perhaps even more subdirectories?). I have managed to get xgettext to parse one directory to make PO files, but how do I parse my entire project (with all PHP files in all directories) in one operation?

Feel free to ask if you did not understand the problem. Thanks.
Old 04-28-2006, 09:52 AM   #2
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,497

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Recently there were several threads on this forum with a similar question. Not exactly your problem,. but both dealed with PHP and recursing into subdirectories.



directories, gettext

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy an entire directory structure except certain files? thanhvn Programming 9 01-27-2012 11:41 AM
remove entire directory. bruse Linux - Newbie 2 04-27-2005 01:23 AM
removing an entire directory pasalacqua128 Linux - Software 2 06-03-2004 04:37 PM
Directory contains 26,000 files. How to split into sub-dirs? BrianK Linux - General 4 05-12-2004 04:37 PM
Using tar to backup a directory and subdirs n1wil Linux - General 1 08-07-2002 10:32 PM

All times are GMT -5. The time now is 09:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration