Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Elxis 5.5 Calypso supports 2 factor authentication login with e-mail or SMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Elxis 4.x/5.x DEV
»
can not add a second language without having a content in main language
« previous
next »
Print
Pages: [
1
]
Author
Topic: can not add a second language without having a content in main language (Read 8722 times)
ahmet
Sr. Member
Posts: 283
360 HDR Virtual Tours | Windsurfing Sailing
can not add a second language without having a content in main language
«
on:
February 23, 2013, 16:48:46 »
any help appreciated..
I dont know if i am missing sth.
main language of my website is turkish... and i dont have any content about turkey(because all turkish people know about turkey)
i set russian as second language and now i want to add a content about turkey which is not existing in the turkish contents..
..in nautilus as i understand, i need firstly a turkish content then i cann add 2nd language?
«
Last Edit: February 25, 2013, 17:16:25 by ahmet
»
Logged
www.puretourism.co.uk
www.globalpanorama.net
www.bodrumwindsurf.com
hakangur
Guest
Re: different contents in different languages
«
Reply #1 on:
February 23, 2013, 23:20:37 »
Assuming that the main language for your web site is Turkish:
1. In the Admin Panel, click
İçerik
(Content)
2. Click
Yeni Kategori
(New Category)
3. For
Başlık
(Title), type in the title in Turkish
4. For
Seo Başlığı
(Seo Title), click
Önerilen
(Suggested)
5. Click
Uygula
(Apply) on the upper right section of the Admin toolbar.
6. Go once again to the
Başlık
(Title). The flag on the right should now be clickable. Click the flag and select "en" for English.
7. Enter the title in English. After that,
do not forget to save
by clicking the icon on its right, next to the British flag (
not
the main Save button on the Admin toolbar!).
8. Switch to the
Açıklama
(Description) tab.
9. Once again, type in the content in Turkish.
10. Click
Uygula
(Apply).
11. Click the flag image and choose "en" for English.
12. Type in the content in English.
13. Save this English translation by clicking the icon next to the "en - English" area.
14. If there are any adjustments to be made, switch to the
Parametreler
(Parameters) tab.
15. Save your category.
You should follow these steps for articles as well.
P.S. Instead of "Windsurfing is very enjoyable," I would use "Windsurfing is great fun."
«
Last Edit: February 24, 2013, 01:54:44 by hakangur
»
Logged
ahmet
Sr. Member
Posts: 283
360 HDR Virtual Tours | Windsurfing Sailing
Re: different contents in different languages
«
Reply #2 on:
February 24, 2013, 20:38:46 »
thanks, hakan it was just an example.
anyway.
this is not what i am talking..
pls. read carefully..
i dont want to use same category name for my english and turkish content..
Logged
www.puretourism.co.uk
www.globalpanorama.net
www.bodrumwindsurf.com
ahmet
Sr. Member
Posts: 283
360 HDR Virtual Tours | Windsurfing Sailing
Re: different contents in different languages
«
Reply #3 on:
February 25, 2013, 17:12:28 »
sorry hakan , yes i got it now...
i couldnt explain exactly what my problem is..
main language of my website is turkish... and i dont have any content about turkey(because all turkish people know about turkey)
i set russian as second language and now i want to add a content about turkey which is not existing in the turkish contents..
..in nautilus as i understand, i need firstly a turkish content then i cann add 2nd language?
Logged
www.puretourism.co.uk
www.globalpanorama.net
www.bodrumwindsurf.com
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: can not add a second language without having a content in main language
«
Reply #4 on:
February 26, 2013, 10:10:08 »
See this discussion
https://forum.elxis.org/index.php?topic=7532.msg48654#new
Logged
Bournias.net
jmous
Newbie
Posts: 10
Re: can not add a second language without having a content in main language
«
Reply #5 on:
February 28, 2013, 17:26:38 »
I got the same problem with Ahmet.
I am building a new site in Greek (main language) and English (second language).
The customer requests some of the content (categories and articles) to appear only in Greek and some only in English version.
He can't understand why i cannot do this without having to show the articles with English content in Greek version and vice versa.
I proposed him to show only the title and an info message : 'This content is available only in English' for the Greek version. He doesn't like the solution.
I need Elxis 4.x because of the multisite function so i can't go back to 2009.3. Also i love the modern design, programming APIs etc.
I am afraid a lot of sites do not have a 100% mirrored content so this can be a problem for me in the future. Is there some option i am missing, or any other idea to by-pass this?
Thank you in advance
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: can not add a second language without having a content in main language
«
Reply #6 on:
February 28, 2013, 22:40:53 »
Just display different menus to different languages and voila! you have a different structure.
You can even have a different template for each language. You can do what ever you like, just
use your imagination
.
Sample for different layout/modules per language
(placed in template's index.php)
if (eFactory::getLang()->currentLang() == 'el') {
include(ELXIS_PATH.'/templates/mytemplate/greeklayout.php');
} else {
include(ELXIS_PATH.'/templates/mytemplate/englishlayout.php');
}
Tip 1
On each language layout you can load different module positions.
eg. on greek:
<?php $eDoc->modules('menu', 'none'); ?>
And on English:
<?php $eDoc->modules('menu_en', 'none'); ?>
Tip 2
When the user changes language in the language module you must redirect him to the site's frontpage and not to the same page in the other language like the language module does. You can use a custom text module for this purpose pointing to
http://www.example.com
and
http://www.example.com/en/
respectively for each language (Greek, English)
«
Last Edit: February 28, 2013, 22:48:37 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
ahmet
Sr. Member
Posts: 283
360 HDR Virtual Tours | Windsurfing Sailing
Re: can not add a second language without having a content in main language
«
Reply #7 on:
March 01, 2013, 11:57:52 »
jmous,
If i were you i would go with old Elxis.... its far more user frienly and great in multilanguage...
and set up other installtions instead of having multisites..
2nd option
go for multisite for the second language?
...
and thers also great benefits of seperate websites instead of multilingual sites.. regarding seo issues..
«
Last Edit: March 01, 2013, 12:22:00 by ahmet
»
Logged
www.puretourism.co.uk
www.globalpanorama.net
www.bodrumwindsurf.com
jmous
Newbie
Posts: 10
Re: can not add a second language without having a content in main language
«
Reply #8 on:
March 01, 2013, 15:36:02 »
To ahmet : Thank you, but my decision for multisite is not negotiable.
To datahell: Thank you, but it' s not actually that simple or it doesn't seem to do the thing for me.
My multisite will be site1: Greek-English then site2:Greek-Spanish site3:Greek-Arabic etc. etc., all multisites share the same structure and template but different content, which is only logical.
Next logical decision was to choose the Greek language as my main language because it exists in all sub-sites.
Now lets see what happens when i create an article that needs to appear in the category News, the latest news module and the RSS feeds or most popular.
If this article exists only in the secondary language lets say English, will i be able to save it without Greek title? No! So i get an extra greek (title+empty content) article that i don't need that will appear in the Greek latest news, in the listing of the mother content category greek-News etc.
With your different template solution (which i don't logically need ) I will need different categories 'english-News' and 'greek-Νεα' and double times the modules assignment so that this doesn't happen. And what about the 90% of the news that exist in both versions? I will write the title in Greek for the English Category version then i will create an article under the Greek category version without english title.
Am i not loosing most of the benefits of a multilingual environment?
The way i see it, i would prefer an other field (check box) to define that this article (or even category) exists in Languages A, C, Z but not in all the others and then have my queries (core and extensions) to check this field depending on the language.
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: can not add a second language without having a content in main language
«
Reply #9 on:
March 01, 2013, 19:02:19 »
I am not talking about a different template but for a different layout, mostly different module positions per language.
Think better what I wrote. For me case is closed.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Elxis 4.x/5.x DEV
»
can not add a second language without having a content in main language