Topic: Language pack

I can see this..

$form['default_lang'] = preg_replace('#[\.\\\/]#', '', $form['default_lang']);

I want to use the Japanese lang files but I don't understand how to alter the above.
Can somebody point me the right way?

Thanks

Re: Language pack

Copy the files in your language directory then set it as default in your administration options.

Re: Language pack

You don't edit that. You don't edit PunBB's core files to use other languages. Simply upload the folder for Japanese into the lang directory and choose Japanese as your language in Admin Options (which will set the language for guests, not for current users). If you personally want to set your language, you can do that in your profile.

Re: Language pack

Thanks, both.
Couldn't  see the wood for the trees!

regards from Tokyo