phpBB 3 Lang Files Convertor From phpBB 2 Lang Files

Post any links or useful resources for phpBB3 "Olympus". Code development, or MOD related resource links, or any other useful resources regarding phpBB3
Forum rules
READ: Board Rules

Post any valuable resource for phpBB3. -- Anything that might assist MOD developers, or be useful to phpBB3 users.
Quote links or link to articles or resources.

NO Support Requests

Do NOT spam your own board or website

Before posting, please review Guidelines for listing sites as resources

phpBB 3 Lang Files Convertor From phpBB 2 Lang Files

Postby Mighty Gorgon » 28 Jul 2007, 07:38

I'm sorry if it is not the right place to post it... I hope moderators may eventually move this topic. :blush:

Hi all,
after a quick search I didn't find anything regarding this issue so I've decided to code a small utility which may help mods author to convert their old phpBB 2 lang files into the new phpBB 3 lang files system.

This tool is really small and simple, and it may still contain errors.

It is really easy to use, you can use it in two ways:
  1. Including the lang files using the include function
    Code: Select all
  2. Pasting all the $lang vars you need to convert directly into the file
    Code: Select all

    $lang['Test_01'] = 'Testing...';
    $lang['Test_02'] = 'Testing...';

    // LANG VARS - END

To do this just open phpbb3_lc.php and edit the first lines accordingly.

Once you have edited the lines, you just need to launch the files in your
browser and you'll have the output to be pasted in a brand new phpBB 3 lang

There is also the possibility to download it as a file, but pay attention that
will be downloaded only the automated output, not the content of the textbox
if you have modified it!!!


I hope someone may find this useful.

Here is the link to phpBB discussion:
User avatar
Mighty Gorgon    
Style Author
Style Author
Posts: 20
Joined: 04 Jul 2007, 16:50
Location: Italy
Favorite Team: Juventus
Gender: Male

phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Return to phpBB3 Links and Resources

Who is online

Users browsing this forum: No registered users and 2 guests