This script organizes all of the language keys in a file (and can also do so for all language files in a certain directory and subdirectories).
The file is attached, just unzip it and upload it to your forum's root directory.
The file name of the file you want to organize should be sent in the URL.
If you want to organize the language/en/common.php file it would be:
organize_lang.php?file=en/common
(do not add .php)
If you want to organize the entire language/en/acp/ folder it would be:
organize_lang.php?file=en/acp/
By default, if no file is submitted in the URL it organizes the files in the language/en/mods/ directory.
Organize Language Files
Forum rules
Only post tools related to modding in here, simple.
Only post tools related to modding in here, simple.
- EXreaction
- New member
- Posts: 11
- Joined: 19 Jul 2008, 16:33
- Real name: Nathan
- Contact:
Organize Language Files
- Attachments
-
- organize_lang.zip
- (2.02 KiB) Downloaded 206 times
My phpBB3 Mods:
| | | |
| | | |
-
- Supporter
- Posts: 27
- Joined: 01 Sep 2007, 12:27
- Real name: Tim [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Organize Language Files
Yeah, it works great Now I don't have too organize it by myself
Re: Organize Language Files
So, I take it that it does it alphabetically, then?
- EXreaction
- New member
- Posts: 11
- Joined: 19 Jul 2008, 16:33
- Real name: Nathan
- Contact:
Re: Organize Language Files
Yes, it looks like this when ran:
http://userblogmod.googlecode.com/svn/t ... common.php
(download it and look at it, browsers don't keep the spacing correct)
http://userblogmod.googlecode.com/svn/t ... common.php
(download it and look at it, browsers don't keep the spacing correct)
My phpBB3 Mods:
| | | |
| | | |
Re: Organize Language Files
Respect! Great tool and helps to get the language strings in a clean order!
Thanks!
Thanks!
Kind regards,
femu
femu
Re: Organize Language Files
Kind regards,
femu
femu
Return to “Tools for MOD authors”
Who is online
Users browsing this forum: No registered users and 27 guests