0

Actually there are two questions:

  1. is there a way to recursively pick up all GetText strings in current directory and all child dirs programmatically (using exec maybe or some)?
  2. after i passed through the files within xgettext i got warning such as ... internationalized messages should not contain the `\r

So how to force xgettext to delete \n, \r, \t etc. automatically when string is found to avoid mentioned error so .PO file would be friendly formatted?

Thanks for coming links and advices :)

Anonymous
  • 1,823
  • 2
  • 35
  • 74

1 Answers1

0

Closed. Only way i see - invoke xgettext from PHP as :

passthru('xgettext -n *.php', $result);

With params :

Community
  • 1
  • 1
Anonymous
  • 1,823
  • 2
  • 35
  • 74