Elxis CMS Forum
Support => Elxis 4.x/5.x DEV => Topic started by: ahmet 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?
-
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."
-
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..
-
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?
-
See this discussion https://forum.elxis.org/index.php?topic=7532.msg48654#new (https://forum.elxis.org/index.php?topic=7532.msg48654#new)
-
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
-
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)
-
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..
-
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.
-
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.