Create a New LanguageYou may think something magical happens -- we wave a pretty wand -- we chant and sacrifice chickens -- we just wiggle our noses to make a new language pack for Fully Modded phpBB. Unfortunately this isn't the case. It's not that making a language pack is difficult, it's actually amazingly easy. So here's how you can translate Fully Modded phpBB into your native language. Follow the steps below and you'll have a new language on your board before you know it. This tutorial will help you create your own languages so that it is compatible with Fully Modded phpBB 2. Each section is split in to sub sections. To make an existing language you will need a few tools to make the job easier, we recommend the following:
i. Editing Language StringsThe language/ directory of your phpBB install hosts a lang_english/ directory. All you need to do to translate it into French, Dutch, Portuguese, or Somalian is to copy all the files in that folder (including the emails/ directory located in it), rename the copy lang_xxxx (whatever your language is, e.g. lang_french), and then translate away. Example, in your newly created language/lang_xxxx/lang_main.php file you might find:
Edit with your text editor to read:
It's very important not to change the '$lang['Thankyou']' value! But go ahead and translate everything else into your own language, unless you are specified not to in the file itself. ii. Language StandardsAll language strings must be enclosed with single quotes/apostrophes ('), do not use double quotes/apostrophes ("), just don't! Example:
All words containing single quotes/apostrophes must be character backslashed (\) to avoid parse errors Example:
iii. Spellchecker DictionaryTranslating the spellchecker dictionary into your language is as simple as two easy steps (once complete you will never have to translate this again!)
iv. Adding your copyrightTo add a short copyright message into the footer indicating you are the translator, open the lang_main.php file and add your name. If you are using link urls, please adhere to the default footer Example:
v. Image CreationOnce that's done, you'll need to make sure you have images in your language. Creating any new/extra images for your new language can be an easy process providing you have the right software. The images/ directory of every theme in your phpBB install hosts a lang_english/ directory containing english images. All you need to do to translate it into French, Dutch, Portuguese, or Somalian is to copy all the files in that folder, rename the copy lang_xxxx (whatever your language is, e.g. lang_french), and then translate away. To translate/create your images you can either:
vi. Viewing Finished ProductsTo install your new language upload it to the languages/ directory of your board, either change the overall board language setting, or the language as a user in your profile. Or, you could install both an Apache server and Fully Modded phpBB locally on your machine and have a live view of you language. |