Multiple Language packs

This is an archive of the phpBB 2.0.x convertors forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
MrTraveler
Registered User
Posts: 4
Joined: Thu Sep 12, 2002 4:28 pm
Contact:

Multiple Language packs

Post by MrTraveler » Thu Sep 12, 2002 4:55 pm

Hi, I did a search and couldn't find what I was looking for so I'm posting.

Can I have two languages running on one board? Say like English and Spanish?

Ashe
Former Team Member
Posts: 642
Joined: Sun Jul 08, 2001 11:38 am

Post by Ashe » Thu Sep 12, 2002 5:30 pm

Not on the same page, but you can offer multiple languages to choose from. Just add the /lang_[something]/ directory to your /languages/ directory and it will be added to the dropdown list in the Profile page.

MrTraveler
Registered User
Posts: 4
Joined: Thu Sep 12, 2002 4:28 pm
Contact:

It worked

Post by MrTraveler » Thu Sep 12, 2002 9:19 pm

Thanks

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

change it...

Post by Balint » Fri Sep 13, 2002 1:12 pm

Hi!

You can additionally try the Select Default Language At Login MOD.

So you can choose between english and spanish with a link... e.g.

http://www.yoursite.com/phpBB2/index.ph ... ge=english

or

http://www.yoursite.com/phpBB2/index.ph ... ge=spanish


Yours,
Bálint

MrTraveler
Registered User
Posts: 4
Joined: Thu Sep 12, 2002 4:28 pm
Contact:

Re: change it...

Post by MrTraveler » Mon Sep 16, 2002 4:14 pm

Balint wrote: Hi!

You can additionally try the Select Default Language At Login MOD.

So you can choose between english and spanish with a link... e.g.

http://www.yoursite.com/phpBB2/index.ph ... ge=english

or

http://www.yoursite.com/phpBB2/index.ph ... ge=spanish


Yours,
Bálint


Yup...that's what I'm doing

User avatar
farmer580
Registered User
Posts: 66
Joined: Sun Nov 03, 2002 9:29 pm
Location: USA
Contact:

How to set correct global default encoding automatically?

Post by farmer580 » Sun Nov 03, 2002 11:33 pm

I have installed the language packs. The encoding seems to be correct for the selected language. To view the pages, I have to manually select the encoding from the Internet Explorer (View|Encoding|Select Encoding). The global default encoding (View|Encoding|Auto-Select) always chooses Western European (ISO).

Is there a way to set this on the server side to avoid these extra steps for users?

Thanks in advance !

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Solution

Post by Balint » Mon Jan 06, 2003 3:16 pm

Hi!

Yes, there is a possibility: in your spanish (or other language) lang_main.php right at the top:

Code: Select all

$lang['ENCODING'] = "iso-8859-1";
replace it with:

Code: Select all

$lang['ENCODING'] = "iso-8859-2";
(just an example for hungarian language encoding).

To find out your encoding-number, please use google: http://www.google.de/search?q=iso-8859

Regards,
Bálint

User avatar
farmer580
Registered User
Posts: 66
Joined: Sun Nov 03, 2002 9:29 pm
Location: USA
Contact:

Post by farmer580 » Sat Apr 05, 2003 3:20 am

I used the language package supported by phpBB (2.0.4) and I checked the lang_main.php, and it has correct ENCODING set. But the forum still does not automatically display with the correct encoding.


Code: Select all

//setlocale(LC_ALL, "en");
$lang['ENCODING'] = "gb2312";
$lang['DIRECTION'] = "LTR";
$lang['LEFT'] = "LEFT";
$lang['RIGHT'] = "RIGHT";
$lang['DATE_FORMAT'] =  "Y-m-d"; 

xlilxdevilodex
Registered User
Posts: 2
Joined: Sat Apr 05, 2003 8:20 pm

Can we do this in the ElForo.de site?

Post by xlilxdevilodex » Sat Apr 05, 2003 8:45 pm

Hello! :D

My problem is that I have a message board in the ElForo.de site(elforo.de/mywebheaven, it is). And I see that the languages available are

1. Catalan
2. Galego
3. Spanish

These three are ok with me(I understand them), but I wanted to make 'english' appear on the list, too! I know there's a way, since my online friends have forums hosted at the elforo.de site, too, and their forums have 'english' in the list.

What do I have to do for english to appear!(I have tried asking my 'freinds' already, but they say the forums just came like that, with english in the list... :roll: )do I have to install something, is it something I have to do when I sing up for the service, or is that I got my forums at the wrong site?

I really need help with this!!!! Thank you for your time.

xXx Odette xXx

bboyshady
Registered User
Posts: 1
Joined: Sun Apr 06, 2003 2:50 pm

Post by bboyshady » Sun Apr 06, 2003 4:31 pm

ok, I don't know were u guys talkin about :P
http://www.mod-chip.com/click/clickme/c ... hadywarezz make $0.02 every click make money with you're site / forum!

Trust
Registered User
Posts: 175
Joined: Sun May 12, 2002 10:51 am
Location: Europe, The Netherlands, Zwijndrecht
Contact:

Post by Trust » Sun Apr 06, 2003 4:32 pm

bboyshady wrote: ok, I don't know were u guys talkin about :P


If you don't know that, why are you posting then :?

xEik
Translator
Posts: 34
Joined: Wed Aug 14, 2002 7:57 pm
Location: Catalonia
Name: Isaac Garcia Abrodos

Post by xEik » Sun Apr 06, 2003 6:31 pm

Download the phpBB 2.0.4 full package from here to your computer (if you don't know which one to choose, take the zip one). Unzip it. In the unzipped files you'll find a folder called language, inside there is a folder called lang_english. Upload this folder and its contents to your language folder (it should be elforo.de/mywebheaven/language). That should be enough.

However, I see that forums in elforo.de come prepackaged. In case you can't upload anything, what I explained above won't help you and you'll have to contact your webadmin and he'll probably place that directory with its information for you.

xlilxdevilodex
Registered User
Posts: 2
Joined: Sat Apr 05, 2003 8:20 pm

Post by xlilxdevilodex » Mon Apr 07, 2003 11:13 pm

Thanks for your help. And yes, you where quite right, I couldn't upload the package myself, but I contacted the administrator of the elforo.de site, and they'll probably have it installed for me in no time. :)

Again, thanks for you help! :D

xXx Odette xXx

Locked

Return to “[2.0.x] Convertors”