se7enet purgatorio

Page 1 of 1 1
Topic Options
Rate This Topic
#18588 - 10/28/08 02:43 AM Translation
Justas
Corn Flakes


Registered: 08/30/08
Posts: 63

Offline
Hi,
When I'm trying to translate help.php it shows me ??? instead of Lithuanian letters.. Everywhere else Lithuanian letters shows right..

Sorry for my bad English..

Top
#18590 - 10/28/08 08:03 AM Re: Translation [Re: Justas]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
You need a SOAP script and you can use Google's API to translate.
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#18594 - 10/28/08 01:48 PM Re: Translation [Re: Fayt]
Justas
Corn Flakes


Registered: 08/30/08
Posts: 63

Offline
Is there any way to show letters right in help.php file instead of using SOAP script (never heard about it)
Top
#18595 - 10/28/08 04:07 PM Re: Translation [Re: Justas]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
Maybe use a different ISO? Here is the latin one, maybe find one for your language?

http://www.utoronto.ca/webdocs/HTMLdocs/NewHTML/iso_table.html
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#18599 - 10/28/08 06:12 PM Re: Translation [Re: Fayt]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
Man, every time I go into a stock DK folder Im reminded just how... simple.. the game is. As in, simple to use, simple functions.

In your lib.php file there will be two of these:

// Make page tags for XHTML validation.
$xml = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"
. "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"DTD/xhtml1-transitional.dtd\">\n"
. "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n";

Change them.

You will also need to ensure your database has the correct character set setup on all your fields.
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#18600 - 10/28/08 06:46 PM Re: Translation [Re: AnmanIndustries]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
Which is exactly what I am talking about ^_^
ISO and DTD
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#18609 - 10/30/08 06:43 AM Re: Translation [Re: AnmanIndustries]
Justas
Corn Flakes


Registered: 08/30/08
Posts: 63

Offline
 Originally Posted By: AnmanIndustries
Man, every time I go into a stock DK folder Im reminded just how... simple.. the game is. As in, simple to use, simple functions.

In your lib.php file there will be two of these:

// Make page tags for XHTML validation.
$xml = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"
. "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"DTD/xhtml1-transitional.dtd\">\n"
. "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n";

Change them.

You will also need to ensure your database has the correct character set setup on all your fields.


I changed
 Quote:
$xml = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"

To UTF-8 long time ago.. But it doesn't help me in help.php file..

Oh, I find out something.. In wamp server on my computer help.php shows Lithuanian letters, but in my remote server (on free host) it doesn't show LT letters.. Do I need to contact hosting company?

Top
#18612 - 10/30/08 08:11 AM Re: Translation [Re: Justas]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
You need the Lithuanian translation
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#18615 - 10/30/08 01:37 PM Re: Translation [Re: Fayt]
Justas
Corn Flakes


Registered: 08/30/08
Posts: 63

Offline
Didn't understood, what you wanted to say..
Top
#18620 - 10/30/08 05:30 PM Re: Translation [Re: Justas]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
Use this

http://gedmin.as/ltt/index-en.html
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
#18621 - 10/30/08 06:19 PM Re: Translation [Re: Justas]
AnmanIndustries
Cookie Crisp
*****

Registered: 03/21/05
Posts: 2876
Loc: Planet Stupid, AKA Earth

Offline
 Originally Posted By: Justas

To UTF-8 long time ago.. But it doesn't help me in help.php file..


The help file is indipendant of the rest of the game. It doesnt access the lib.php.

The reason it works on your local server, is that you have the character sets installed on your computer as the defaults. I would imagine, its not the default on the other server.
_________________________
If you want me to punch you in the nuts go to:
http://www.AnmanIndustries.com

I'll do it for free too. Enjoy.

Top
#18624 - 10/30/08 07:22 PM Re: Translation [Re: AnmanIndustries]
Fayt
Crunchberries
***

Registered: 11/08/05
Posts: 1131
Loc: My Computer, USA

Offline
I agree with Anman
_________________________
MasterFayt - Amara 5 - Manas - Banar

Top
Page 1 of 1 1


Hop to:

se7enet

Barack Obama Logo