Recursive scan for files with xgettext
Asked Answered
T

1

11

I need to recursively scan all folders from a project for xgettext strings. How can this be done using xgettext on linux?

My current parameters are: --default-domain=project -k_

Trifid answered 12/7, 2012 at 11:44 Comment(0)
T
26
find . -iname "*.php" | xargs xgettext --from-code=UTF-8 --default-domain=project

This should do the trick.

Trifid answered 12/7, 2012 at 11:51 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.