| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
Lart Newbie


Offline Joined: Apr 26, 2004 Posts: 17
|
Posted: Sat Jul 24, 2004 2:26 pm Post subject: Forum - brazilian Lang problems |
|
I'm trying to translate the language in the forum module but it is not accepting the accents.
Maybe there is some ISO or encoding I'm missing can someone help??
TIA
Lart
Lart's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2004
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Sat Jul 24, 2004 2:30 pm Post subject: Re: Forum - brazilian Lang problems |
|
language files should be saved as UTF-8 without BOM header
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
Lart Newbie


Offline Joined: Apr 26, 2004 Posts: 17
|
Posted: Sat Jul 24, 2004 2:59 pm Post subject: Re: Forum - brazilian Lang problems |
|
Wow you are a fast one DJMaze
Please my intergalactical knowledge don't comprehend your unnatural speech. Please explain and show me an example.
TIA
Lart
Lart's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2004
|
|
| Back to top |
|
 |
Lart Newbie


Offline Joined: Apr 26, 2004 Posts: 17
|
Posted: Sat Jul 24, 2004 3:11 pm Post subject: Re: Forum - brazilian Lang problems |
|
It's me again I got it figured out here reading the sticker, but what is this BOM header stuff???
Is there an easy and fast way to make the UTF-8 conversion??
Tnx,
Lart
Lart's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2004
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Sat Jul 24, 2004 3:14 pm Post subject: Re: Forum - brazilian Lang problems |
|
use an editor like notepad2 or ultraedit
www.ultraedit.com
cpgnuke.com/Downloads/...id=13.html
These support UTF-8 files which are no "normal" (ASCII) files but use binary data for special characters.
UTF-8 is supported in almost any browser and OS and it gives the ability to show a page in different languages at the same time.
ASCII only allows 1 language (ISO 8859-1 for example)
A good example is our home which shows different languages in the features list (if your browser doesn't support a language set then it shows questionmarks)
BOM header: is the first character of a UTF-8 file which is a recognition identifier so that a editor knows it's a UTF-8 file.
PHP can't handle that character so by saving the file without the BOM header the file is processed properly.
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
Lart Newbie


Offline Joined: Apr 26, 2004 Posts: 17
|
Posted: Sat Jul 24, 2004 3:19 pm Post subject: Re: Forum - brazilian Lang problems |
|
Thank you DJMaze it looks like I got a little work to do here :).
When I'm done I'll contact you to forward it, so you can add to the langage pack overhere.
Lart
Lart's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2004
|
|
| Back to top |
|
 |
Lart Newbie


Offline Joined: Apr 26, 2004 Posts: 17
|
Posted: Sat Jul 24, 2004 3:52 pm Post subject: Re: Forum - brazilian Lang problems |
|
Let me get this straight what file do I have to convert?? all the language files or the dump from the DB??
I'm testing here locally and is not coming trough. Can you help???
TIA,
Lart
Lart's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2004
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Sat Jul 24, 2004 4:03 pm Post subject: Re: Forum - brazilian Lang problems |
|
modules/Forums/language/*.php has to be edited
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
Lart Newbie


Offline Joined: Apr 26, 2004 Posts: 17
|
Posted: Sat Jul 24, 2004 4:06 pm Post subject: Re: Forum - brazilian Lang problems |
|
I did exactly those files but they still don't come true in portuguese
Is there some sort of tutorial with the ultra edit?? I did convertion from OEM to ANSI is this correct???
Lart
Lart's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2004
|
|
| Back to top |
|
 |
Lart Newbie


Offline Joined: Apr 26, 2004 Posts: 17
|
Posted: Sat Jul 24, 2004 4:53 pm Post subject: Re: Forum - brazilian Lang problems |
|
Oh well!!  :(
Back to the drawing boad (PHP-NUke)  . It looks like this system is way beyond my knowledge I can't get this converdion stuff to work properly.
Thanks for the support anyways.
Lart
Lart's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2004
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Sat Jul 24, 2004 6:54 pm Post subject: Re: Forum - brazilian Lang problems |
|
Convert: ANSI -> UTF-8
As i said: All is UTF-8
So get rid of ANSI, Unicode and OEM
You can give us your translations and we will convert the file to UTF-8 if you realy don't understand it.
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
Lart Newbie


Offline Joined: Apr 26, 2004 Posts: 17
|
Posted: Sat Jul 24, 2004 8:58 pm Post subject: Re: Forum - brazilian Lang problems |
|
Hey DJMaze
I translated and converted the forum lang-brazilian where can I send this???
I sent you a PM let me know!!
Lart
Lart's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2004
|
|
| Back to top |
|
 |
Lart Newbie


Offline Joined: Apr 26, 2004 Posts: 17
|
Posted: Sun Jul 25, 2004 9:30 pm Post subject: Re: Forum - brazilian Lang problems |
|
Can some support ppl follow this post??
I got this module/forum/language/lang-brazilian converted and UTF-8 and want to pass it over to you guys. let me know how please??
Lart
Lart's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 2004
|
|
| Back to top |
|
 |
|
|