Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Alejandro López
Translation to Valencian language
February 15, 2012 8:42 AM
Answer

Alejandro López

Rank: Junior Member

Posts: 53

Join Date: July 8, 2011

Recent Posts

Hi to all.

I'm not a expert using liferay but I have some knowledge.

In Valencia, the goverment is taking Liferay as portal web solution, that's why I think that a translate to valencian is necessary.

I don't know how to, and don't have a lot of time, but I want to contribute.

Greetings.
Jack A. Rider / Alfredo Prats
RE: Translation to Valencian language
February 15, 2012 12:12 PM
Answer

Jack A. Rider / Alfredo Prats

Rank: Regular Member

Posts: 139

Join Date: March 26, 2007

Recent Posts

Hola Alejandro,

A few months ago I made a traslation of Language.properties to valencian with success using Salt translation tool. If I can be of any help, please feel free to get in touch with me at. jack.a.rider@xmlportletfactory.com . The problem I found to get it to the standard is to get the ISO code for valencian, like catalonian has.

Saludos, Jack A. Rider
Alejandro López
RE: Translation to Valencian language
February 16, 2012 1:03 AM
Answer

Alejandro López

Rank: Junior Member

Posts: 53

Join Date: July 8, 2011

Recent Posts

Hi Jack, and thanks for the quick reply.

In fact, I don't need to translate to valencian language, because catalonian and valencian are the same language.

But, in Valencia, you cannot make a portal (for local government, council, etc.) that has "ca" (catalonian language code), as a prefix in the URL. Here at Valencia, there is a lot of discussion about if are the same language. The politicians are saying that are not the same languages.

Then, the easier solution for me is use catalonian language, and change "ca" (catalonian language code) to "va" (valencian language code). But I don't know how to do. Do you know how can I do it?

That's the resason, because I thought to build translation.

pd: I have some curiosity to know why you tried to translate Liferay to valencian.

pd2: sorry about my poor english
Jack A. Rider / Alfredo Prats
RE: Translation to Valencian language
February 22, 2012 10:39 PM
Answer

Jack A. Rider / Alfredo Prats

Rank: Regular Member

Posts: 139

Join Date: March 26, 2007

Recent Posts

Hola Alejandro,

I did the same a year ago, I had to make a portal for local goverment. The thing is, that Catalonian and Valencian are not exactly the same, there are many, many small refinements that drives a valencian or catalonian to clearly distinguish one of the other.

What basically was made, was to translate the language properties file, from spanish to valencian using this translating tool . and replace Language_ca.properties and catalonian flag in the core. The results where optimal and client was very satisfied.

In the future, if there is a ISO code for valencian, will be a matter of minutes to make Liferay speak it oficially. emoticon

Saludos from Benidorm
Jack A. Rider
www.xmlporletfactory.org

Pd.: language codes are taken from locale of the java VM, trying to add va_ES, although is posible, it will multiply by many your project complexity.
Alejandro López
RE: Translation to Valencian language
February 23, 2012 1:06 AM
Answer

Alejandro López

Rank: Junior Member

Posts: 53

Join Date: July 8, 2011

Recent Posts

Bon día Jack.

We have to wait until valencian achieves an ISO code.

I think my solution is similar of yours.

1.- I'll take 2 languages: Spanish and Valencian (Catalonian)
2.- Change flag in my theme (I don't wan't change anything in the core)
3.- Change some literals of Language_ca.properties
4.- Add one entry to portal-ext.properties to avoid catalonian code "ca" which is "forbidden" in Valencia:
locale.prepend.friendly.url.style=0

But step 4, have some problems about of caching pages, because the pages in Spanish and Valencian have the same URL.

Then it's necessary an ISO code for valencian language.

Salutacions i moltes gràcies.