xoops forums

trabis

Core Developer
Posted on: 2009/4/25 20:43
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#1

Language check tool

I needed to check which language definitions were not being used on 'publisher' module so, instead of loose some hours searching and replacing things, I went away and made a script that would do this for me.

This script allows you to check language definitions that are not used in your module.
Just place this script in your module root and hit him in your browser.
It will add // (comment) automatically for not used definitions once you hit the 'FIX' link.
Your language folder must have write permissions, better is to use it on your localhost.

Requirements: PHP5

http://www.xuups.com/language_check_tool_trabis.zip

Enjoy!

ghia

Community Support Member
Posted on: 2009/4/29 0:48
ghia
ghia (Show more)
Community Support Member
Posts: 4954
Since: 2008/7/3 1
#2

Re: Language check tool

This lang tool is also easy to add missing texts.

kiang

Not too shy to talk
Posted on: 2009/4/29 1:07
kiang
kiang (Show more)
Not too shy to talk
Posts: 126
Since: 2002/9/2 1
#3

Re: Language check tool

I think trabis know the module, since the patterns are the similar. ;)

The patterns couldn't satisfy all possibilities. Maybe somebody could try to answer this question:
http://stackoverflow.com/questions/770731
Resized Image