Re: How to translate

Luis M <[email protected]> Tue, 21 Jun 2005 20:25:25 -0400
Newsgroups gmane.comp.cms.phpslash.devel
Message-ID <[email protected]>
On 6/21/05, Tigran <[email protected]> wrote:
> Hello,
>=20
> I'm trying to translate PHPSlash into Armenian. I have copied the en.php
> into hy.php file and I know I'm suppose to type the translated text in it=
.
> I don't know how to type the translated text. Do I just change the font i=
n
> my computer and start typing in Armenian? I tried for some reason it didn=
't
> work.
> How do I make sure I'm typing in UTF-8?
>=20
> Test url is www.usanogh.com/articles2

You should put:

Content-Language =3D "en-us"
Content-Type =3D "text/html; charset=3DUTF-8"
Content-Style-Type =3D "text/css"

In your config.ini.php file so that phpslash puts the right stuff in
the META tags.

You can open the .php file with any text editor that supports UTF8
(like Gedit or Gvim) and make sure your locate is setup properly. In
my case i do:

export LANG=3Den_US.UTF-8
export LC_ALL=3Den_US.UTF-8
gvim foo.php

When you are done with the translation. just attach it to an email and
fire it to phpslash-devel. So we can include it in phpslash.

Hope that helps.

--=20
----)(-----=20
Luis M
System Administrator
Kiskeyix.org=20

"We think basically you watch television to turn your brain off, and
you work on your computer when you want to turn your brain on" --
Steve Jobs in an interview for MacWorld Magazine 2004-Feb

No .doc: http://www.fsf.org/philosophy/no-word-attachments.es.html


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click