Editing "lang_portal.php" in another language

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
kalamar
Active Member
Posts: 2
Joined: 23. July 2008 20:13

Editing "lang_portal.php" in another language

Post by kalamar »

Hi everyone!
First I would like to thanks the staff of board3 for this great job ;)

I would like to translate the portal in my language (french), so I've added the following code in "index.html" and "overall_header.html":

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=ANSI" /> 
and I also edit all the files in ANSI. The problem is that special characters (é,à. è, ï.....) aren't displayed (there is a small logo instead).
I've read the topic concerning this : viewtopic.php?f=24&t=556 , but I've not understand what I should do to fix this problem.

Thanks a lot and I apologise for my english ;)
User avatar

thomas.d
Former Team Member
Posts: 625
Joined: 19. January 2008 23:56
phpBB.de User: thomas.d
phpBB.com User: thomas.d
Contact:

Re: Editing "lang_portal.php" in another language

Post by thomas.d »

Hi kalamar,
kalamar wrote:... I've read the topic concerning this : viewtopic.php?f=24&t=556 , but I've not understand what I should do to fix this problem ...
In the topic you've mentioned it's explained like this:
FAQ wrote:The solution here is an editor, which provides the ability to encode the php-files correctly as "UTF-8 without BOM". Such an editor is for instance "Notepad++".
This means that you have to use an editor (NOT Windows Notepad for example), that provides the ability to save files in the correct format "UTF-8 without BOM".

An editor matching these requirements is for example "Notepad++" which is freeware (and a french lang pack is available I think ...).

You would edit language files as you like (with special french characters) and save them with their correct name and in the correct format (UTF-8 without BOM).
Viele Grüße

Thomas

Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |
User avatar

Heinrich-XIV
Tester
Posts: 233
Joined: 16. May 2008 18:39
phpBB.de User: Heinze 1906
phpBB.com User: Heinrich-XIV
Location: 52353 Düren

Re: Editing "lang_portal.php" in another language

Post by Heinrich-XIV »

Additial Info:

You can Notepad ++ download here:

http://notepad-plus.sourceforge.net/fr/site.htm

This links to the Site from Notepad++ in french language.

Don't vergot to set the FORMAT to UTF-8 without BOM.

Image


MfG

Heinrich

Topic author
kalamar
Active Member
Posts: 2
Joined: 23. July 2008 20:13

Re: Editing "lang_portal.php" in another language

Post by kalamar »

Ok it works. I was editing in UTF8 without BOM but I forgot to convert the whole document.

Thanks a lot Heinrich-XIV :)
User avatar

Heinrich-XIV
Tester
Posts: 233
Joined: 16. May 2008 18:39
phpBB.de User: Heinze 1906
phpBB.com User: Heinrich-XIV
Location: 52353 Düren

Re: Editing "lang_portal.php" in another language

Post by Heinrich-XIV »

No problem!

Fine, make a good work. ;)


MfG

Heinrich
Locked

Return to “board3 Portal 1.0.x - English Support”