Review your favorite Linux distribution.
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, 06: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, 10:52 AM   #2
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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 12:41 PM
remove entire directory. bruse Linux - Newbie 2 04-27-2005 02:23 AM
removing an entire directory pasalacqua128 Linux - Software 2 06-03-2004 05:37 PM
Directory contains 26,000 files. How to split into sub-dirs? BrianK Linux - General 4 05-12-2004 05:37 PM
Using tar to backup a directory and subdirs n1wil Linux - General 1 08-07-2002 11:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:40 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
Open Source Consulting | Domain Registration