Не поручается добавить украинский язык
Не поручается добавить украинский язык
Hello.
[ external image ] Не поручается добавить украинский язык (2lang -> uk). Поможете?
[ external image ] Nicht anvertraut hinzufügen Ukrainische Sprache (2lang -> uk). Helfen?
[ external image ] Not obliged to add Ukrainian language (2lang -> uk). Help?
[ external image ] Не поручается добавить украинский язык (2lang -> uk). Поможете?
[ external image ] Nicht anvertraut hinzufügen Ukrainische Sprache (2lang -> uk). Helfen?
[ external image ] Not obliged to add Ukrainian language (2lang -> uk). Help?
Simple Hosting
Бедная, бросаемая бурею, безутешная!
Бедная, бросаемая бурею, безутешная!
Re: Не поручается добавить украинский язык
Since CMSimple_XH 1.6 adding another language is slightly more complicated than before. It is explained briefly in the Wiki and in detail in http://cmsimpleforum.com/viewtopic.php? ... 625#p37618.
I have done it on your test installation. See the folders uk/ and content/uk/ to understand what has to be done.
I have done it on your test installation. See the folders uk/ and content/uk/ to understand what has to be done.
Christoph M. Becker – Plugins for CMSimple_XH
Не поручается добавить украинский язык
Hello
[ external image ] Создаю:
[ external image ] Erstelle:
[ external image ] Create:
/cmsimple/languages
ru.php
uk.php
/content/uk
/plugins/.../languages
ru.php
uk.php
/uk
.2lang
index.php
/userfiles/images/flags
ru.gif
uk.gif
[ external image ] Нажимаю на украинский флаг > Login > ввожу пароль > Pages > Rename page > меняю имя на "111" > "The page structure could not be saved to "../content/uk/content.htm"!"
[ external image ] Klicke auf die Ukrainische Flagge - > Login - > gebe mein Passwort ein > Pages > Rename page > ändere den Namen in "111" > "The page structure could not be saved to "../content/uk/content.htm"!"
[ external image ] Click on the Ukrainian flag > Login > enter password > Pages > Rename page > change the name to "111" > "The page structure could not be saved to "../content/uk/content.htm"!"
[ external image ] Создаю:
[ external image ] Erstelle:
[ external image ] Create:
/cmsimple/languages
ru.php
uk.php
/content/uk
/plugins/.../languages
ru.php
uk.php
/uk
.2lang
index.php
/userfiles/images/flags
ru.gif
uk.gif
[ external image ] Нажимаю на украинский флаг > Login > ввожу пароль > Pages > Rename page > меняю имя на "111" > "The page structure could not be saved to "../content/uk/content.htm"!"
[ external image ] Klicke auf die Ukrainische Flagge - > Login - > gebe mein Passwort ein > Pages > Rename page > ändere den Namen in "111" > "The page structure could not be saved to "../content/uk/content.htm"!"
[ external image ] Click on the Ukrainian flag > Login > enter password > Pages > Rename page > change the name to "111" > "The page structure could not be saved to "../content/uk/content.htm"!"
Simple Hosting
Бедная, бросаемая бурею, безутешная!
Бедная, бросаемая бурею, безутешная!
Re: Не поручается добавить украинский язык
[ external image ]
I don't know how this happened, but obviously the directory is useless this way and it cannot be deleted.
I don't know how this happened, but obviously the directory is useless this way and it cannot be deleted.
Christoph M. Becker – Plugins for CMSimple_XH
Аж неловко
[ external image ] Хм, это было просто, слишком просто, аж неловко.
[ external image ] Hmm, that was easy, too easy, much embarrassed.
[ external image ] При помощи cPanel удалось удалить, создать заново - работает. Спасибо.
[ external image ] Using cPanel managed to delete, create, re - powered. Thank you.
[ external image ] Не пойму какие нужно установить права? На какие папки, файлы?
[ external image ] На папки нужно установить 555 или 755 или 777? Неужели на все папки одни права?
[ external image ] На файлы нужно установить 444 или 644 или 666? Неужели на все файлы одни права?
[ external image ] I do not understand what you want to set permissions? What folders and files?
[ external image ] On the folder you want to install 555 or 755 or 777? Do all folders some permissions?
[ external image ] The files you need to install 444 or 644 or 666? Do all the files some permissions?
http://www.cmsimple-xh.org/wiki/doku.ph ... ermissions
[ external image ] Мы в настройках указываем "index, follow" значит файл "robots.txt" не нужен?
[ external image ] We in the settings you specify "index, follow" means file "robots.txt" don't need?
[ external image ] Нужен файл ".htaccess" или "index.htm"в пустых папках: userfiles, downloads, images, media...?
[ external image ] Need the file ".htaccess" or "index.htm"in the empty folder: userfiles, downloads, images, media...?
[ external image ] "The plugin Polyglott_XH is meant as (CMSimple_XH 1.6 compatible) successor of Multilang_XH, but it is not yet published." - жаль. Я не смогу связать страницы?
[ external image ] "The plugin Polyglott_XH is meant as (CMSimple_XH 1.6 compatible) successor of Multilang_XH, but it is not yet published." - very sad. I can't link the page?
http://www.cmsimple-xh.org/wiki/doku.ph ... l_websites
[ external image ] В шаблоне есть такие строки, для русской локализации:
[ external image ] In the template there are some lines for Russian localization:
[ external image ] Чтобы подставлялся перевод alt и title нужно создать ещё один шаблон, или можно использовать переменные?
[ external image ] To be substituted translation of alt and title need to create another template, or you can use variables?
Когда выбираю "Главная" перехожу на русскую версию сайта, а не на украинскую:
When you choose the "Main" go to Russian version of the site, not in Ukrainian:
[ external image ] Hmm, that was easy, too easy, much embarrassed.
[ external image ] При помощи cPanel удалось удалить, создать заново - работает. Спасибо.
[ external image ] Using cPanel managed to delete, create, re - powered. Thank you.
[ external image ] Не пойму какие нужно установить права? На какие папки, файлы?
[ external image ] На папки нужно установить 555 или 755 или 777? Неужели на все папки одни права?
[ external image ] На файлы нужно установить 444 или 644 или 666? Неужели на все файлы одни права?
[ external image ] I do not understand what you want to set permissions? What folders and files?
[ external image ] On the folder you want to install 555 or 755 or 777? Do all folders some permissions?
[ external image ] The files you need to install 444 or 644 or 666? Do all the files some permissions?
http://www.cmsimple-xh.org/wiki/doku.ph ... ermissions
[ external image ] Мы в настройках указываем "index, follow" значит файл "robots.txt" не нужен?
[ external image ] We in the settings you specify "index, follow" means file "robots.txt" don't need?
[ external image ] Нужен файл ".htaccess" или "index.htm"в пустых папках: userfiles, downloads, images, media...?
[ external image ] Need the file ".htaccess" or "index.htm"in the empty folder: userfiles, downloads, images, media...?
[ external image ] "The plugin Polyglott_XH is meant as (CMSimple_XH 1.6 compatible) successor of Multilang_XH, but it is not yet published." - жаль. Я не смогу связать страницы?
[ external image ] "The plugin Polyglott_XH is meant as (CMSimple_XH 1.6 compatible) successor of Multilang_XH, but it is not yet published." - very sad. I can't link the page?
http://www.cmsimple-xh.org/wiki/doku.ph ... l_websites
[ external image ] В шаблоне есть такие строки, для русской локализации:
[ external image ] In the template there are some lines for Russian localization:
Code: Select all
<area shape="poly" coords="845,16,867,16,867,38,845,38,845,16" href="mailform.html" alt="Почтовая форма" title="Почтовая форма" />
<area shape="poly" coords="807,16,829,16,829,38,807,38,807,16" href="sitemap.html" alt="Карта сайта" title="Карта сайта" />
<area shape="poly" coords="770,16,792,16,792,38,770,38,770,16" href="/" alt="Главная" title="Главная" />
[ external image ] To be substituted translation of alt and title need to create another template, or you can use variables?
Когда выбираю "Главная" перехожу на русскую версию сайта, а не на украинскую:
When you choose the "Main" go to Russian version of the site, not in Ukrainian:
Code: Select all
<area shape="poly" coords="770,16,792,16,792,38,770,38,770,16" href="/" alt="Главная" title="Главная" />
Simple Hosting
Бедная, бросаемая бурею, безутешная!
Бедная, бросаемая бурею, безутешная!
Re: Не поручается добавить украинский язык
Fine.Maxim wrote:При помощи cPanel удалось удаль, создать заново - работает.
Most files should be 0444; most of the folders 0555. Only some files and folders need write permessions; these are listed in http://www.cmsimple-xh.org/wiki/doku.php/installation and in the documentation of the plugins. Whether the files need 0644 or 0666 and the folders need 0755 or 0777 depends on the server.Maxim wrote:Не пойму какие нужно установить права? На какие папки, файлы?
На папки 555, 755, 777
На файлы 444, 644, 666
Неужели на все папки одни права?
Неужели на все файлы одни права?
http://www.cmsimple-xh.org/wiki/doku.ph ... ermissions
You need both. "index,follow" and its variants are for the pages generated by CMSimple, because you can't exclude them with robots.txt. robots.txt is for other files.Maxim wrote:Мы в настройках указываем "index, follow" значит файл "robots.txt" не нужен?
You must not have a .htaccess to prevent access in these folders. You can put index.htm there, but most servers are configured to disallow directory listings anyway. Just try it: http://example.com/userfiles/ (replace example.com with your domain name).Maxim wrote:Нужен файл ".htaccess" или "index.htm"в пустых папках: userfiles, downloads, images, media...?
Oops -- I have forgotten to update the article. Thanks for the reminder. Polyglott_XH is available since a while.Maxim wrote:"The plugin Polyglott_XH is meant as (CMSimple_XH 1.6 compatible) successor of Multilang_XH, but it is not yet published."
You can use existing variables:Maxim wrote:Чтобы подставлялся перевод alt и title нужно создать ещё один шаблон, или можно использовать переменные?
Code: Select all
<area shape="poly" coords="845,16,867,16,867,38,845,38,845,16" href="mailform.html" alt="<?php echo $tx['menu']['mailform']?>" title="<?php echo $tx['menu']['mailform']?>" />
<area shape="poly" coords="807,16,829,16,829,38,807,38,807,16" href="sitemap.html" alt="<?php echo $tx['menu']['sitemap']?>" title="<?php echo $tx['menu']['sitemap']?>" />
<area shape="poly" coords="770,16,792,16,792,38,770,38,770,16" href="/" alt="<?php echo $tx['locator']['home']?>" title="<?php echo $tx['locator']['home']?>" />
You can use the following:Maxim wrote:Когда выбираю "Главная" перехожу на русскую версию сайта, а не на украинскую:
Code: Select all
<area shape="poly" coords="770,16,792,16,792,38,770,38,770,16" href="<?php echo $pth['folder']['base']?>" alt="Главная" title="Главная" />
Christoph M. Becker – Plugins for CMSimple_XH
Polyglott_XH
[ external image ] 1.
http://www.cmsimple-xh.org/wiki/doku.php/installation
Проставьте пожалуйста цифры:
555, 755, 777
444, 644, 666
Будет легче понять.
2.
3. Почему content.htm? Почему не content.html?
4. Простите, я не понял, файл "robots.txt" нужен или не нужен? Можете перефразировать?
5.
6. "Polyglott_XH" не учитывает ".html" и "?", можете исправить плагин?
7. href="<?php echo $pth['folder']['base']?>" - это переход на главную страницу сайта, а нужно "/uk/".
[ external image ] 1.
http://www.cmsimple-xh.org/wiki/doku.php/installation
Please add the numbers:
555, 755, 777
444, 644, 666
It will be easier to understand.
2.
3. Why content.htm? Why not content.html?
4. Sorry, I did not understand the file "robots.txt" necessary or not? Can be paraphrased?
5.
6. "Polyglott_XH" does not consider ".html" and "?" can fix the plugin?
7. href="<?php echo $pth['folder']['base']?>" - is the switch on the main page of the site, and need "/uk/".
...The following folders have to be given writing permissions
http://www.cmsimple-xh.org/wiki/doku.php/installation
Проставьте пожалуйста цифры:
555, 755, 777
444, 644, 666
Будет легче понять.
2.
Подскажите, где я могу больше про это узнать?Whether the files need 0644 or 0666 and the folders need 0755 or 0777 depends on the server.
3. Почему content.htm? Почему не content.html?
4. Простите, я не понял, файл "robots.txt" нужен или не нужен? Можете перефразировать?
5.
Хостинги могут и отличаться, если у меня всё нормально, это не означает, что у всех также хорошо.You must not have a .htaccess to prevent access in these folders. You can put index.htm there, but most servers are configured to disallow directory listings anyway. Just try it: http://example.com/userfiles/ (replace example.com with your domain name).
6. "Polyglott_XH" не учитывает ".html" и "?", можете исправить плагин?
7. href="<?php echo $pth['folder']['base']?>" - это переход на главную страницу сайта, а нужно "/uk/".
[ external image ] 1.
...The following folders have to be given writing permissions
http://www.cmsimple-xh.org/wiki/doku.php/installation
Please add the numbers:
555, 755, 777
444, 644, 666
It will be easier to understand.
2.
Prompt, where I can learn?Whether the files need 0644 or 0666 and the folders need 0755 or 0777 depends on the server.
3. Why content.htm? Why not content.html?
4. Sorry, I did not understand the file "robots.txt" necessary or not? Can be paraphrased?
5.
Hosting providers can differ, if I'm okay, it does not mean that all too well.You must not have a .htaccess to prevent access in these folders. You can put index.htm there, but most servers are configured to disallow directory listings anyway. Just try it: http://example.com/userfiles/ (replace example.com with your domain name).
6. "Polyglott_XH" does not consider ".html" and "?" can fix the plugin?
7. href="<?php echo $pth['folder']['base']?>" - is the switch on the main page of the site, and need "/uk/".
Simple Hosting
Бедная, бросаемая бурею, безутешная!
Бедная, бросаемая бурею, безутешная!
Re: Не поручается добавить украинский язык
I have added links to http://www.cmsimple-xh.org/wiki/doku.ph ... conclusion. That might be better than simply adding the numbers.Maxim wrote:Проставьте пожалуйста цифры:
555, 755, 777
444, 644, 666
Будет легче понять.
That is explained in detail in http://www.cmsimple-xh.org/wiki/doku.ph ... ermissions and in http://en.wikipedia.org/wiki/File_syste ... ermissions. The Russian version of the Wikipedia article doesn't explain it, unfortunately. Maybe http://yandex.ru/yandsearch?text=%D1%80 ... %8B%20unix is helpful.Maxim wrote:Подскажите, где я могу больше про это узнать?cmb wrote:Whether the files need 0644 or 0666 and the folders need 0755 or 0777 depends on the server.
Because it has always been this way.Maxim wrote:Почему content.htm? Почему не content.html?
It is not possible to disallow access to certain CMSimple pages with robots.txt. The following doesn't work:Maxim wrote:Простите, я не понял, файл "robots.txt" нужен или не нужен? Можете перефразировать?
Code: Select all
Disallow: /index.php?Page_name
If you are using clean URLs, you can use robots.txt. The following works:
Code: Select all
Disallow: /index.php/Page_name
It might be reasonable to add empty index.htm(l) files to userfiles/, userfiles/images/ etc. However, if a user creates a new folder, say userfiles/images/test/, the files in this directory can be seen anyway. I am not sure. What do other think about it?Maxim wrote:Хостинги могут и отличаться, если у меня всё нормально, это не означает, что у всех также хорошо.cmb wrote:You must not have a .htaccess to prevent access in these folders. You can put index.htm there, but most servers are configured to disallow directory listings anyway. Just try it: http://example.com/userfiles/ (replace example.com with your domain name).
I'll have a look at it.Maxim wrote:"Polyglott_XH" не учитывает ".html" и "?", можете исправить плагин?
It seems I have misunderstood you, but I'm still not sure what you want to accomplish. Can you please explain.Maxim wrote:href="<?php echo $pth['folder']['base']?>" - это переход на главную страницу сайта, а нужно "/uk/".
Christoph M. Becker – Plugins for CMSimple_XH
Нужно два варианта
[ external image ] Это переход на русскую версию сайта:
[ external image ] This transition to the Russian version of the website:
<area shape="poly" coords="770,16,792,16,792,38,770,38,770,16" href="/" alt="Главная" title="Главная" />
[ external image ] Нужно два варианта, второй вариант, переход на главную страницу украинской версии сайта, если я нахожусь на украинской версии сайта:
[ external image ] Need two options, the second option, go to the main page of the Ukrainian version of the site, if I'm on the Ukrainian version of the site:
<area shape="poly" coords="770,16,792,16,792,38,770,38,770,16" href="uk/" alt="Головна" title="Головна" />
[ external image ] This transition to the Russian version of the website:
<area shape="poly" coords="770,16,792,16,792,38,770,38,770,16" href="/" alt="Главная" title="Главная" />
[ external image ] Нужно два варианта, второй вариант, переход на главную страницу украинской версии сайта, если я нахожусь на украинской версии сайта:
[ external image ] Need two options, the second option, go to the main page of the Ukrainian version of the site, if I'm on the Ukrainian version of the site:
<area shape="poly" coords="770,16,792,16,792,38,770,38,770,16" href="uk/" alt="Головна" title="Головна" />
Simple Hosting
Бедная, бросаемая бурею, безутешная!
Бедная, бросаемая бурею, безутешная!
Re: Нужно два варианта
Ah, now I understand! That's simple:Maxim wrote:[ external image ] Это переход на русскую версию сайта:
[ external image ] This transition to the Russian version of the website:
<area shape="poly" coords="770,16,792,16,792,38,770,38,770,16" href="/" alt="Главная" title="Главная" />
[ external image ] Нужно два варианта, второй вариант, переход на главную страницу украинской версии сайта, если я нахожусь на украинской версии сайта:
[ external image ] Need two options, the second option, go to the main page of the Ukrainian version of the site, if I'm on the Ukrainian version of the site:
<area shape="poly" coords="770,16,792,16,792,38,770,38,770,16" href="uk/" alt="Головна" title="Головна" />
Code: Select all
<area shape="poly" coords="770,16,792,16,792,38,770,38,770,16" href="<?php echo $sn?>" alt="<?php echo $tx['locator']['home']?>" title="<?php echo $tx['locator']['home']?>" />
Christoph M. Becker – Plugins for CMSimple_XH