LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 04-27-2006, 05:07 AM   #1
Muffe
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
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,099

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
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.

jlinkels
 
  


Reply

Tags
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 11:37 AM.

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