Need help for adding new language in SPIP

Hi there,

I am Michael from Thailand, I have translated SPIP into Burmese
language 100% completed, I wonder if someone can guide me where and
how to add those translated files.

Mainly I would like to change interface into Burmese language on my
testing site.

Thanks and regards,

Mike

Mike,

you will find all the detail on this page

Since you have done the job on the file you could
send it to fil@rezo plop net or james@rezo plop net , they
will take care of the file .

We also need to find a code for Burmese language ? Is it
'bur' ? Burmese language - Wikipedia

Ben.

P.S : the mailing list spip-trad@rezo.net is the liste where we can discuss
of traductions .

On Feb 1, 2008 3:15 PM, Michael Suantak <msuantak@gmail.com> wrote:

Hi there,

I am Michael from Thailand, I have translated SPIP into Burmese
language 100% completed, I wonder if someone can guide me where and
how to add those translated files.

Mainly I would like to change interface into Burmese language on my
testing site.

Thanks and regards,

Mike
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

Since you have done the job on the file you could
send it to fil@rezo plop net or james@rezo plop net , they
will take care of the file .

Fantastic!

In fact it is Florent who knows how to integrate the files into the
translation database: "Florent Jugla" <florent@eledo.com>

We also need to find a code for Burmese language ? Is it
'bur' ? Burmese language - Wikipedia

We usually take the ISO 639-1 code if it exists, otherwise use the ISO
639-2 code, or invent another code if none exists. In the case of
Burmese the ISO 639-1 code exists and is 'my'. The ISO-639-2 code is
either 'bur' or 'mya'. I know this can be politically very
significant, so it's really up to you to choose.

-- Fil

Hello Michael :slight_smile:

So... I don't know how you managed to translate but regarding Spip, all
the langage files are located into /ecrire/lang

A full langage set for spip is made of three files spip_XX.php,
public_XX.php and ecrire_XX.php where XX is the international code for the
langage (ex : en for English, fr for French, and so on...)

So if you want to add a new set of langage for your site, you can a set of
those files, for exemple all the _en.php files then translate all the
english occurencies of those files into your own langage.

For translating the /ecrire interface for exemple you will have to create
your own ecrire_XX.php file (I'm sorry I don't know the international code
for Burmese but I'm sure you'll be able to find it, asking to someone on
the spip translations dedicated mailing list.

As soon as your files are ready you can then propose them to the
translators backoffice on Spip.net. For this, you can ask Paolo who is an
administrator on Spip.net. I think he'll be able to guide you through such
process.

Good luck :wink:

Etienne.

On Fri, February 1, 2008 3:15 pm, Michael Suantak wrote:

Hi there,

I am Michael from Thailand, I have translated SPIP into Burmese
language 100% completed, I wonder if someone can guide me where and
how to add those translated files.

Mainly I would like to change interface into Burmese language on my
testing site.

Thanks and regards,

Mike
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

Hi all,

Thanks much for your prompt response. I have used Burmese lang code
"MY" also in Plone CMS. Here also would like to use MY in SPIP. I have
put 3 files, public_my.php, ecrire_my.php and spip_my.php in language
folder under server. But i dont see Burmese in languages menu on the
site to chose Burmese language interface to disply up.

Thanks and looking forward to here more details from you guys.

Regards,

Mike

On 2/1/08, L'oiseau2nuit (ex- Zzz.) <loiseau2nuit@no-log.org> wrote:

Hello Michael :slight_smile:

So... I don't know how you managed to translate but regarding Spip, all
the langage files are located into /ecrire/lang

A full langage set for spip is made of three files spip_XX.php,
public_XX.php and ecrire_XX.php where XX is the international code for the
langage (ex : en for English, fr for French, and so on...)

So if you want to add a new set of langage for your site, you can a set of
those files, for exemple all the _en.php files then translate all the
english occurencies of those files into your own langage.

For translating the /ecrire interface for exemple you will have to create
your own ecrire_XX.php file (I'm sorry I don't know the international code
for Burmese but I'm sure you'll be able to find it, asking to someone on
the spip translations dedicated mailing list.

As soon as your files are ready you can then propose them to the
translators backoffice on Spip.net. For this, you can ask Paolo who is an
administrator on Spip.net. I think he'll be able to guide you through such
process.

Good luck :wink:

Etienne.

On Fri, February 1, 2008 3:15 pm, Michael Suantak wrote:
> Hi there,
>
> I am Michael from Thailand, I have translated SPIP into Burmese
> language 100% completed, I wonder if someone can guide me where and
> how to add those translated files.
>
> Mainly I would like to change interface into Burmese language on my
> testing site.
>
> Thanks and regards,
>
> Mike
> _______________________________________________
> spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en
>

Hi :slight_smile:

I'm sorry these are my mistakes.

2 things :

- I forgot to tell about one file /ecrire/inc/lang_list.php which contains
the list of all alnguages used by a spip site.

in this file, all international codes are declared, sending to the full
name of the associated language.

If I check line 122 in this file I have the following line :
  'my' => "Burmese",
which lets me think that the possibility of an upcoming translation of
Burmese language would be done (or even appreciated :slight_smile: )

- That leads us to the second thing : it seems that following my wrong
advice, you wrote the lang code in uppercase and that was the main
mistake.

What happens if you write your filenames like this : ecrire_my.php,
publc_my.php and spip_my, instead of ecrire_MY.php, and so on... ???

Etienne

On Sat, February 2, 2008 3:54 am, msuantak@gmail.com wrote:

Hi all,

Thanks much for your prompt response. I have used Burmese lang code
"MY" also in Plone CMS. Here also would like to use MY in SPIP. I have
put 3 files, public_my.php, ecrire_my.php and spip_my.php in language
folder under server. But i dont see Burmese in languages menu on the
site to chose Burmese language interface to disply up.

Thanks and looking forward to here more details from you guys.

Regards,

Mike

On 2/1/08, L'oiseau2nuit (ex- Zzz.) <loiseau2nuit@no-log.org> wrote:

Hello Michael :slight_smile:

So... I don't know how you managed to translate but regarding Spip, all
the langage files are located into /ecrire/lang

A full langage set for spip is made of three files spip_XX.php,
public_XX.php and ecrire_XX.php where XX is the international code for
the
langage (ex : en for English, fr for French, and so on...)

So if you want to add a new set of langage for your site, you can a set
of
those files, for exemple all the _en.php files then translate all the
english occurencies of those files into your own langage.

For translating the /ecrire interface for exemple you will have to
create
your own ecrire_XX.php file (I'm sorry I don't know the international
code
for Burmese but I'm sure you'll be able to find it, asking to someone on
the spip translations dedicated mailing list.

As soon as your files are ready you can then propose them to the
translators backoffice on Spip.net. For this, you can ask Paolo who is
an
administrator on Spip.net. I think he'll be able to guide you through
such
process.

Good luck :wink:

Etienne.

On Fri, February 1, 2008 3:15 pm, Michael Suantak wrote:
> Hi there,
>
> I am Michael from Thailand, I have translated SPIP into Burmese
> language 100% completed, I wonder if someone can guide me where and
> how to add those translated files.
>
> Mainly I would like to change interface into Burmese language on my
> testing site.
>
> Thanks and regards,
>
> Mike
> _______________________________________________
> spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en
>

Hi

Thanks alot, I make it work well now, but when i chose Burmese as main
interface language, the typing sequence are not correct, but when see
with English as main language all Burmese font show correctly. I have
put the font name in all CSS files.

Our Burmese font is called Parabaik and it is complied unicode
standard 5.0. we make it Burmese traditional way or writing
available/possible. It mean that we write first vowel and consonant
later. But the computer replace as Unicode standard of writing.

I will get you more detail with video capture soon.

Thanks,

Mike

On 2/2/08, L'oiseau2nuit (ex- Zzz.) <loiseau2nuit@no-log.org> wrote:

Hi :slight_smile:

I'm sorry these are my mistakes.

2 things :

- I forgot to tell about one file /ecrire/inc/lang_list.php which contains
the list of all alnguages used by a spip site.

in this file, all international codes are declared, sending to the full
name of the associated language.

If I check line 122 in this file I have the following line :
  'my' => "Burmese",
which lets me think that the possibility of an upcoming translation of
Burmese language would be done (or even appreciated :slight_smile: )

- That leads us to the second thing : it seems that following my wrong
advice, you wrote the lang code in uppercase and that was the main
mistake.

What happens if you write your filenames like this : ecrire_my.php,
publc_my.php and spip_my, instead of ecrire_MY.php, and so on... ???

Etienne

On Sat, February 2, 2008 3:54 am, msuantak@gmail.com wrote:
> Hi all,
>
> Thanks much for your prompt response. I have used Burmese lang code
> "MY" also in Plone CMS. Here also would like to use MY in SPIP. I have
> put 3 files, public_my.php, ecrire_my.php and spip_my.php in language
> folder under server. But i dont see Burmese in languages menu on the
> site to chose Burmese language interface to disply up.
>
> Thanks and looking forward to here more details from you guys.
>
> Regards,
>
> Mike
>
> On 2/1/08, L'oiseau2nuit (ex- Zzz.) <loiseau2nuit@no-log.org> wrote:
>> Hello Michael :slight_smile:
>>
>> So... I don't know how you managed to translate but regarding Spip, all
>> the langage files are located into /ecrire/lang
>>
>> A full langage set for spip is made of three files spip_XX.php,
>> public_XX.php and ecrire_XX.php where XX is the international code for
>> the
>> langage (ex : en for English, fr for French, and so on...)
>>
>> So if you want to add a new set of langage for your site, you can a set
>> of
>> those files, for exemple all the _en.php files then translate all the
>> english occurencies of those files into your own langage.
>>
>> For translating the /ecrire interface for exemple you will have to
>> create
>> your own ecrire_XX.php file (I'm sorry I don't know the international
>> code
>> for Burmese but I'm sure you'll be able to find it, asking to someone on
>> the spip translations dedicated mailing list.
>>
>> As soon as your files are ready you can then propose them to the
>> translators backoffice on Spip.net. For this, you can ask Paolo who is
>> an
>> administrator on Spip.net. I think he'll be able to guide you through
>> such
>> process.
>>
>> Good luck :wink:
>>
>> Etienne.
>>
>>
>>
>> On Fri, February 1, 2008 3:15 pm, Michael Suantak wrote:
>> > Hi there,
>> >
>> > I am Michael from Thailand, I have translated SPIP into Burmese
>> > language 100% completed, I wonder if someone can guide me where and
>> > how to add those translated files.
>> >
>> > Mainly I would like to change interface into Burmese language on my
>> > testing site.
>> >
>> > Thanks and regards,
>> >
>> > Mike
>> > _______________________________________________
>> > spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en
>> >
>>
>>
>

I'm not so good with Charset managment but what I can say, is that you can
set the one used on your site through "Configuration" > "Language
managment".

If I'm not wrong again, the default Charset in Spip 1.9.2c is utf-8, in
order to deal with all sort of accentuated characters (specially the one
available in Spanish and French languages)

I don't know if your typing problems come from this but on this page you
can the one you need for your language.

I hope this can help...

Good luck

Etienne.

On Sat, February 2, 2008 10:11 am, msuantak@gmail.com wrote:

Hi

Thanks alot, I make it work well now, but when i chose Burmese as main
interface language, the typing sequence are not correct, but when see
with English as main language all Burmese font show correctly. I have
put the font name in all CSS files.

Our Burmese font is called Parabaik and it is complied unicode
standard 5.0. we make it Burmese traditional way or writing
available/possible. It mean that we write first vowel and consonant
later. But the computer replace as Unicode standard of writing.

I will get you more detail with video capture soon.

Thanks,

Mike

On 2/2/08, L'oiseau2nuit (ex- Zzz.) <loiseau2nuit@no-log.org> wrote:

Hi :slight_smile:

I'm sorry these are my mistakes.

2 things :

- I forgot to tell about one file /ecrire/inc/lang_list.php which
contains
the list of all alnguages used by a spip site.

in this file, all international codes are declared, sending to the full
name of the associated language.

If I check line 122 in this file I have the following line :
  'my' => "Burmese",
which lets me think that the possibility of an upcoming translation of
Burmese language would be done (or even appreciated :slight_smile: )

- That leads us to the second thing : it seems that following my wrong
advice, you wrote the lang code in uppercase and that was the main
mistake.

What happens if you write your filenames like this : ecrire_my.php,
publc_my.php and spip_my, instead of ecrire_MY.php, and so on... ???

Etienne

On Sat, February 2, 2008 3:54 am, msuantak@gmail.com wrote:
> Hi all,
>
> Thanks much for your prompt response. I have used Burmese lang code
> "MY" also in Plone CMS. Here also would like to use MY in SPIP. I have
> put 3 files, public_my.php, ecrire_my.php and spip_my.php in language
> folder under server. But i dont see Burmese in languages menu on the
> site to chose Burmese language interface to disply up.
>
> Thanks and looking forward to here more details from you guys.
>
> Regards,
>
> Mike
>
> On 2/1/08, L'oiseau2nuit (ex- Zzz.) <loiseau2nuit@no-log.org> wrote:
>> Hello Michael :slight_smile:
>>
>> So... I don't know how you managed to translate but regarding Spip,
all
>> the langage files are located into /ecrire/lang
>>
>> A full langage set for spip is made of three files spip_XX.php,
>> public_XX.php and ecrire_XX.php where XX is the international code
for
>> the
>> langage (ex : en for English, fr for French, and so on...)
>>
>> So if you want to add a new set of langage for your site, you can a
set
>> of
>> those files, for exemple all the _en.php files then translate all the
>> english occurencies of those files into your own langage.
>>
>> For translating the /ecrire interface for exemple you will have to
>> create
>> your own ecrire_XX.php file (I'm sorry I don't know the international
>> code
>> for Burmese but I'm sure you'll be able to find it, asking to someone
on
>> the spip translations dedicated mailing list.
>>
>> As soon as your files are ready you can then propose them to the
>> translators backoffice on Spip.net. For this, you can ask Paolo who
is
>> an
>> administrator on Spip.net. I think he'll be able to guide you through
>> such
>> process.
>>
>> Good luck :wink:
>>
>> Etienne.
>>
>>
>>
>> On Fri, February 1, 2008 3:15 pm, Michael Suantak wrote:
>> > Hi there,
>> >
>> > I am Michael from Thailand, I have translated SPIP into Burmese
>> > language 100% completed, I wonder if someone can guide me where and
>> > how to add those translated files.
>> >
>> > Mainly I would like to change interface into Burmese language on my
>> > testing site.
>> >
>> > Thanks and regards,
>> >
>> > Mike
>> > _______________________________________________
>> > spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en
>> >
>>
>>
>