Helper script for finding missing keys
Posted by Thomas Seifert
All files from this thread
File Name | File Size | Posted by | Date | ||
---|---|---|---|---|---|
languagehelper.php | 946 bytes | open | download | Thomas Seifert | 08/11/2004 | Read message |
Helper script for finding missing keys August 11, 2004 04:26AM |
Admin Registered: 22 years ago Posts: 9,240 |
Hi there,
I did a simple helper script which tries to find missing language-keys in your language-file in comparison to a given current language-file, i.e. english.php from the distribution.
Corrections and enhancements welcome.
Btw. it works on the console using php-cli. You might need to change the first line in the script to point to your php-install.
Thomas Seifert
Edited 1 time(s). Last edit at 08/11/2004 04:27AM by ts77.
I did a simple helper script which tries to find missing language-keys in your language-file in comparison to a given current language-file, i.e. english.php from the distribution.
Corrections and enhancements welcome.
Btw. it works on the console using php-cli. You might need to change the first line in the script to point to your php-install.
Thomas Seifert
Edited 1 time(s). Last edit at 08/11/2004 04:27AM by ts77.
Re: Helper script for finding missing keys March 23, 2006 06:09AM |
Registered: 20 years ago Posts: 24 |
Re: Helper script for finding missing keys March 23, 2006 06:40AM |
Admin Registered: 20 years ago Posts: 8,532 |
If you are using the current release (5.1.10 and some other late 5.1.x releases as well), there is an experimental language tool in the admin interface, which can be used to check your language file against the current version of Phorum.
To use Thomas' script from a web browser, you have to hard-code the filenames to use in there.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
To use Thomas' script from a web browser, you have to hard-code the filenames to use in there.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Helper script for finding missing keys March 23, 2006 08:34AM |
Registered: 20 years ago Posts: 24 |
Re: Helper script for finding missing keys March 23, 2006 08:48AM |
Registered: 23 years ago Posts: 1,076 |
Sorry, only registered users may post in this forum.