Foren

Change language of web content

thumbnail
anand abhyankar, geändert vor 14 Jahren.

Change language of web content

Junior Member Beiträge: 57 Beitrittsdatum: 26.03.08 Neueste Beiträge
Hi All,

How can I change the language of the web content.
I have uploaded web content in English on my site.
When I click on a language other than English ( using language portlet), the content does not get translated to the desired language.
What should I need to do for this thing to work?
I am using Liferay 5.2.2 with tomcat 5.5.

Thanks in advance....

>> Anand
thumbnail
Jeffrey Handa, geändert vor 14 Jahren.

RE: Change language of web content

Liferay Master Beiträge: 541 Beitrittsdatum: 01.12.08 Neueste Beiträge
Hello Anand,

To localize unstructured web content use the following steps:
-Create a new Unstructured Journal Article
-Select 'Save & Continue'
-Change the Language to the desired localized language (e.g. Français, Español, etc.)
-Enter localized data
-Select 'Save & Approve'
-Change your language preferences using the 'Language' portlet.

To localize structured web content use the following steps:
-Create a new Structured Journal Article
-Select 'Save & Continue'
-Change the Language to the desired localized language (e.g. Français, Español, etc.)
-Check the 'Localized' check box next to the data elements that are to be localized
-Enter localized data
-Select 'Save & Approve'
-Change your language preferences using the 'Language' portlet.
Prathibha h m, geändert vor 14 Jahren.

RE: Change language of web content

Junior Member Beiträge: 74 Beitrittsdatum: 17.09.09 Neueste Beiträge
Hi Jeffrey,

In a web content what is language and default language.

when I edit a content as spanish and save it.... next time it is shown as espanol (Espana) .. .why is that

Please can you give me the detailed idea about handling this thing.

Thanks,
Prathibha
thumbnail
Jeffrey Handa, geändert vor 14 Jahren.

RE: Change language of web content

Liferay Master Beiträge: 541 Beitrittsdatum: 01.12.08 Neueste Beiträge
In Web Content, the default language is the language that will be shown in the user's preferred language is not available. So for example, I may create a piece of web content in English and after saving that web content, I go back in and change the Language field (not default language) to Spanish. I could then add a Spanish language version of that same piece of Web Content. Spanish speaking visitors to the site could then view the content in Spanish and all other visitors would see English. Each time you return to the content, you should be seeing the default language displayed. If you are seeing Spanish, you may have changed the default language by mistake.
thumbnail
Dhandapani Shanmugam, geändert vor 14 Jahren.

RE: Change language of web content

Regular Member Beiträge: 176 Beitrittsdatum: 24.03.09 Neueste Beiträge
Hi Jeffrey,

Ay you said in previous reply on this post as below


To localize unstructured web content use the following steps:
-Create a new Unstructured Journal Article
-Select 'Save & Continue'
-Change the Language to the desired localized language (e.g. Français, Español, etc.)
-Enter localized data
-Select 'Save & Approve'
-Change your language preferences using the 'Language' portlet.

To localize structured web content use the following steps:
-Create a new Structured Journal Article
-Select 'Save & Continue'
-Change the Language to the desired localized language (e.g. Français, Español, etc.)
-Check the 'Localized' check box next to the data elements that are to be localized
-Enter localized data
-Select 'Save & Approve'
-Change your language preferences using the 'Language' portlet.


I followed the same steps which you mention above , For unstructured web content, its working fine, its changing content language.

But in structured web content, spanish content is coming while changing language as spanish in my portal. when i am changing as english, its giving error like this content is expired, is not approved like ,,,

Can you please help me out from this issue.

Thanks in advance

Regards
Dhans
thumbnail
Kavita Kumari, geändert vor 14 Jahren.

RE: Change language of web content

New Member Beiträge: 22 Beitrittsdatum: 04.11.09 Neueste Beiträge
Hi Dhandapani,

For the structured web content follow the following setps :

-Create a new Structured Journal Article
-Select ''Save & Approve' (Instead of 'Save & Continue' do 'Save & Approve')
-Change the Language to the desired localized language (e.g. Français, Español, etc.)
-Check the 'Localized' check box next to the data elements that are to be localized
-Enter localized data
-Select 'Save & Approve'
-Change your language preferences using the 'Language' portlet.

I hope this will work.
thumbnail
Dhandapani Shanmugam, geändert vor 14 Jahren.

RE: Change language of web content

Regular Member Beiträge: 176 Beitrittsdatum: 24.03.09 Neueste Beiträge
Kavita Kumari:
Hi Dhandapani,

For the structured web content follow the following setps :

-Create a new Structured Journal Article
-Select ''Save & Approve' (Instead of 'Save & Continue' do 'Save & Approve')
-Change the Language to the desired localized language (e.g. Français, Español, etc.)
-Check the 'Localized' check box next to the data elements that are to be localized
-Enter localized data
-Select 'Save & Approve'
-Change your language preferences using the 'Language' portlet.

I hope this will work.


Hi Kavita,

thanks for your reply, I done this one, Actually,

we need to follow the below steps, you mention in 2 step need to select Save and Approve, actually you should not select save and approve first, after giving default language and localized language, only we need click save and approve finally,

The steps are

-Create a new Structured Journal Article with checking localized
-Select '''Save & Continue'
-Change the Language to the desired localized language (e.g. Français, Español, etc.)
-Check the 'Localized' check box next to the data elements that are to be localized
-Enter localized data
-Select 'Save & contine'
-Select 'Save & approve'

Thanks

Dhans
matin macktoobian, geändert vor 12 Jahren.

RE: Change language of web content

New Member Beiträge: 2 Beitrittsdatum: 12.09.11 Neueste Beiträge
what is difference between structured and unstructured content?
Michele Dalla Torre, geändert vor 8 Jahren.

RE: Change language of web content

New Member Beiträge: 3 Beitrittsdatum: 28.05.15 Neueste Beiträge
matin macktoobian:
what is difference between structured and unstructured content?



See https://www.liferay.com/documentation/liferay-portal/6.2/user-guide/-/ai/advanced-content-with-structures-and-te-liferay-portal-6-2-user-guide-03-en