/
Phrase Locator

Phrase Locator

I've create a phrase locator script, that I want to share.

This script could be used to perform some analytical actions on phrases in
Phrase table. To be used script should be placed under "tools/internals"
folder and invoked via "
http://www.you-web-site.com/tools/internals/phrase_locator.php" url.

Script has several parameters, specified via url:

   - *language_id* - id of language, to be used for phrase translation
   retrieval (will use "1", when ommited)
   - *phrase_prefixes* - comma separates phrase label prefixes, e.g "lu_"
   (will use "lu_,la_", when ommited)
   - *mode* - what should be searched (*missing* - display phrases with
   missing translations; *unused* - display unused phrases)

This script can be used to analyse language pack and get rid of unsed
phrases. This way language pack will be clean and only used phrases will be
left to translators.

I suggest to add new tab to "Labels & Phrases" section, where you can
specify all parameters I've listed above and see resulting phrases.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

phrase_locator.php