Question about "Site Name" and some other aspects
Posted: Fri Nov 13, 2009 3:03 am
Hi!
I need to create a site with 3 languages: English, Russian and Ukrainian. I installed the program "cmsms-mle-1.6.6-full.tar.gz" in accordance with the procedures described in http://econtools.economia.unife.it/cmsm ... /mle16.htm. I also read - http://forum.cmsmadesimple.org/index.ph ... 318.0.html because the Ukrainian language was not present in the installation list.
My site uses the template "Left simple navigation + 1 column", which was modified as described here - http://econtools.economia.unife.it/cmsm ... /mle16.htm.
I have several questions:
1) I noticed that when you switch to Russian (and Ukrainian as well), the following text is not translated for some reason:
the bottom of the page - "Next page:" (in Russian it must be "Следующая страница"), "^ Top" (in Russian it must be "^ Наверх"), in the search string there is text "Enter Search ..." instead of "Введите запрос..." in Russian , the whole area (module) of news (headline and news themselves).
Where can I find these word combination to translate them manually? Are they located in one of the files "\modules\MODULENAME\lang\ (eg, \ modules \ CMSMailer \ lang) ? Or they are located elsewhere.
And how to make the news module to display only news in the appropriate language?
2) The main question! How to make 3 different site names (in 3 languages) for all of these three language versions of pages. In the "Site Admin» Global Settings »General Settings" there is only one field "Site Name". If you input the text into this field "Site Name", this text will be shown on every version of site (English, Russian and Ukrainian).
According to the logic there should be a drop-down list of the site languages, where you could select the desired language and enter a Site Name in this language (as is done for content pages).
I was looking for the answer on this question, and found - http://forum.cmsmadesimple.org/index.ph ... l#msg86552 "Tips and Tricks - # 7" (there are some problems with the video - http://econtools.economia.unife.it/cmsms_tools/tr.htm ).
I tried to use this tip. In "TranslationManager" for Russian and English languages, I created a record "shapka" for the text "ПРимер текста" (Russian) and "Text Sample" (English), then in the template
"Left simple navigation + 1 column" I use the expression:
(tr_key key = "shapka" lang = "$lang" assign = "mystring222")
and then in the text of template, for example:
{sitename} - {$mystring222} - {title}
This works.
But if you enter "$mystring222"
or "{$mystring222}"
in the field of "Site Admin» Global Settings »General Settings" »" Site Name ", the text at the top of the page where text of " Site Name " is located will display "$mystring222" or "{$mystring222}", not "Пример текста" (Russian) and "Example of text" (English) as I need.
How can I solve this problem? Which files do I need to change?
3) Another question on "TranslationManager": I did not found how can I add a language that is not present in the dropdown list "1. Language of file:" (the tab "New / Import language") . I need to work with the Ukrainian, which is not present there.
Is it possible?
Thank you for your reply.
P.S. If you are interested, I can make translation to the Ukrainian language. Which files do I need to translate for this? All files wich are present in the folders "\modules\MODULENAME\lang"? Or some other files?
I need to create a site with 3 languages: English, Russian and Ukrainian. I installed the program "cmsms-mle-1.6.6-full.tar.gz" in accordance with the procedures described in http://econtools.economia.unife.it/cmsm ... /mle16.htm. I also read - http://forum.cmsmadesimple.org/index.ph ... 318.0.html because the Ukrainian language was not present in the installation list.
My site uses the template "Left simple navigation + 1 column", which was modified as described here - http://econtools.economia.unife.it/cmsm ... /mle16.htm.
I have several questions:
1) I noticed that when you switch to Russian (and Ukrainian as well), the following text is not translated for some reason:
the bottom of the page - "Next page:" (in Russian it must be "Следующая страница"), "^ Top" (in Russian it must be "^ Наверх"), in the search string there is text "Enter Search ..." instead of "Введите запрос..." in Russian , the whole area (module) of news (headline and news themselves).
Where can I find these word combination to translate them manually? Are they located in one of the files "\modules\MODULENAME\lang\ (eg, \ modules \ CMSMailer \ lang) ? Or they are located elsewhere.
And how to make the news module to display only news in the appropriate language?
2) The main question! How to make 3 different site names (in 3 languages) for all of these three language versions of pages. In the "Site Admin» Global Settings »General Settings" there is only one field "Site Name". If you input the text into this field "Site Name", this text will be shown on every version of site (English, Russian and Ukrainian).
According to the logic there should be a drop-down list of the site languages, where you could select the desired language and enter a Site Name in this language (as is done for content pages).
I was looking for the answer on this question, and found - http://forum.cmsmadesimple.org/index.ph ... l#msg86552 "Tips and Tricks - # 7" (there are some problems with the video - http://econtools.economia.unife.it/cmsms_tools/tr.htm ).
I tried to use this tip. In "TranslationManager" for Russian and English languages, I created a record "shapka" for the text "ПРимер текста" (Russian) and "Text Sample" (English), then in the template
"Left simple navigation + 1 column" I use the expression:
(tr_key key = "shapka" lang = "$lang" assign = "mystring222")
and then in the text of template, for example:
{sitename} - {$mystring222} - {title}
This works.
But if you enter "$mystring222"
or "{$mystring222}"
in the field of "Site Admin» Global Settings »General Settings" »" Site Name ", the text at the top of the page where text of " Site Name " is located will display "$mystring222" or "{$mystring222}", not "Пример текста" (Russian) and "Example of text" (English) as I need.
How can I solve this problem? Which files do I need to change?
3) Another question on "TranslationManager": I did not found how can I add a language that is not present in the dropdown list "1. Language of file:" (the tab "New / Import language") . I need to work with the Ukrainian, which is not present there.
Is it possible?
Thank you for your reply.
P.S. If you are interested, I can make translation to the Ukrainian language. Which files do I need to translate for this? All files wich are present in the folders "\modules\MODULENAME\lang"? Or some other files?