1
bjuti
Transliteration and Xoops
  • 2010/9/30 18:48

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Hi there.

Is there any plugin (smarty) or whatever that can transliterate Xoops site eg. from cyrilic to latin?

There are some plugins for WordPress:
"Transliterate text in posts and pages from Serbian Cyrillic to Latin script. Visitor can select output script from widget."

And for Joomla.

How to do it with Xoops? I suppose that this coul be useful for many other languages.

Tnx.

2
ghia
Re: Transliteration and Xoops
  • 2010/10/1 8:07

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I think it would be a good extension for xLanguage and not so difficult to implement. There is now a system to provide alternative encodings UTF, ISO for the same language.
I assume you could extend this with an transliterate option.

(Altough the reason for the need to have this, is a little bit beyond me.
If you can not read Serbian in Cyrilic, you won't understand it in Latin characters either. Same with Chinese or Japanese that also exists in a Latin form.
And if you can read Serbian, it is very easy to have a Serbian language pack in your browser.)

3
bjuti
Re: Transliteration and Xoops
  • 2010/10/1 8:59

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Hm well, the problem and the request is much deeper.

Assuming that the website is in serbian latin. I need to have option/button that says 'read this in cyrilic'. The both encodings are utf8, but the function should convert all content to cyrilic on the fly (or maybe even cache it).

In serbia we use cyrilic as official, and latin as equal to cyrilic, but people should have a choice. I prefer cyrilic, but we have a lot visits from the region of Balkans, and we speak the same language (99%) with different names, and other nations use and undersand only in latin.

I could do letter to letter convert, eg. Ч > Č, but I need a smarty plugin that will do transliteration or some other script that could be integrated. Check out wp plugin for example.

To be more specific: the content is the same, only letters would change on the fly (or maybe cookie to remember your choice).

Any idea?

4
DonCurioso
Re: Transliteration and Xoops

A good "on the fly" solution would be translateth.is

Try in our site, HispaXoops | Xoops España, we have it & i´m really satisfied with this solution (not at 100%, but 90% at least).

You will see at right, under Traduce-me title.

Regards
HispaXoops | Xoops España

That's the way i like it! | Nada mejor que una Alhambra bien helada con aceitunas...

5
ghia
Re: Transliteration and Xoops
  • 2010/10/2 8:49

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I think you are missing the point of this thread. It is about transliterate and not about translation.
When your site is translated to Serbian in the widget, how do you switch from Serbian with Cyrillic characters to Serbian with Latin characters?

6
bjuti
Re: Transliteration and Xoops
  • 2010/10/2 9:16

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Here is the example (Blog WP based of my friend):


Check out upper right near Google search, you have 'ćir' and 'lat' to choose. When you click on it, the content is automaticly converted to cyrilic and vice versa.

7
kris_fr
Re: Transliteration and Xoops
  • 2010/10/2 9:35

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hi,

look on tv.xoofoo.org (bottom page)

tutorial here --> Easily translate its website into 50 languages

@+

8
bjuti
Re: Transliteration and Xoops
  • 2010/10/2 9:45

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Tnx, but again.. It's not the question of translation, but transliteration. Same language different letters :)

BTW. Your tutorial is great, tnx. I'll use it for translation to other languages :)

9
kris_fr
Re: Transliteration and Xoops
  • 2010/10/2 10:21

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31



10
bjuti
Re: Transliteration and Xoops
  • 2010/10/2 10:32

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Yup, the solution is found, tnx to Kris! :)

Login

Who's Online

169 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 169


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits