Totally Zenned
- Join Date:
- Aug 2007
- Location:
- Gijón, Asturias, Spain
- Posts:
- 2,873
- Plugin Contributions:
- 7
List constants from a specific language file?
In the interests of providing a list of the language constants in each file to a translator for proof-reading and to get a word-count, my question is... how?
I have found how to list all constants:
$const = get_defined_constants();
echo "<pre>";
print_r($const);but how can I extract/list/print the phrases contained in one particular file only?