2lang second language problem
2lang second language problem
I install CMSimple XH 1.6.5 or 1.6.6 second language. But second language flag or name does not visible on any template.
It is ok (visible0 on local server MAMP, but doe s not works on couple other hosting.
Any solution?
custom site
http://test.sima.spb.ru
http://test.sima.spb.ru/en/
clean new site
http://pservise.ru/test/
admin password default test
It is ok (visible0 on local server MAMP, but doe s not works on couple other hosting.
Any solution?
custom site
http://test.sima.spb.ru
http://test.sima.spb.ru/en/
clean new site
http://pservise.ru/test/
admin password default test
Aleksei
Re: 2lang second language problem
On http://test.sima.spb.ru there is no <?php echo languagemenu()?> in the template, so the language menu won't be displayed.
On http://pservise.ru/test/ the file en/.2lang is missing. Therefore en is not detected as a language folder. Just upload an empty file as en/.2lang; maybe that already solves the issue.
On http://pservise.ru/test/ the file en/.2lang is missing. Therefore en is not detected as a language folder. Just upload an empty file as en/.2lang; maybe that already solves the issue.
I suggest that you always change the default password on a public server, and that you never post the password where it is publicly readable.ustalo wrote:admin password default test
Christoph M. Becker – Plugins for CMSimple_XH
Re: 2lang second language problem
Thx
password <MOD>password removed</MOD>
it works on MAMP server.
I change template on default one. The same result.cmb wrote:On http://test.sima.spb.ru there is no <?php echo languagemenu()?> in the template, so the language menu won't be displayed.
password <MOD>password removed</MOD>
I did not get, what a file en/.2langcmb wrote:On http://pservise.ru/test/ the file en/.2lang is missing. Therefore en is not detected as a language folder. Just upload an empty file as en/.2lang; maybe that already solves the issue.
it works on MAMP server.
Last edited by cmb on Wed Mar 18, 2015 3:14 pm, edited 1 time in total.
Reason: fixed quoting and removed password
Reason: fixed quoting and removed password
Aleksei
Re: 2lang second language problem
Okay, then let's concentrate on the other site first. I presume it's the same problem.ustalo wrote:I change template on default one. The same result.cmb wrote:On http://test.sima.spb.ru there is no <?php echo languagemenu()?> in the template, so the language menu won't be displayed.
In the webroot there is a folder "en" (besides cmsimple, plugins, templates etc.) Inside this folder there should be a file .2lang. Either the file is missing, or it has insufficient permissions (it needs 0444).ustalo wrote:I did not get, what a file en/.2lang
It is possible that the file has not been uploaded to the server. This might either have been caused by the FTP client or by the server. You can try to upload an empty file named 2lang into the en/ folder, and rename it afterwards to .2langit works on MAMP server.
Christoph M. Becker – Plugins for CMSimple_XH
Re: 2lang second language problem
.2lang
normaly 2lang is folder
so, I have to
- upload folder 2lang to server
- rename 2lang to .2lang
did I get it right?
normaly 2lang is folder
so, I have to
- upload folder 2lang to server
- rename 2lang to .2lang
did I get it right?
Aleksei
Re: 2lang second language problem
Yes, indeed.ustalo wrote:unvisible file
Hmm, it's not mentioned there, but there are other invisible files (namely .htaccess) which are supposed to be uploaded to the webspace, too. As you're using NGinX those .htaccess file won't work, if I'm not mistaken. So you have to protect some folders by other means. At least that is documented in http://www.cmsimple-xh.org/wiki/doku.ph ... msimple_xh.ustalo wrote:i did not get it from manual.
Christoph M. Becker – Plugins for CMSimple_XH
Re: 2lang second language problem
cmsimple xh 1.6.7
I use MAmp as local server, Everything is fine. But a second language does not works on other hosting
I remember my expirience a few years ago and do 3!!!! times a folder with second language
I use MAmp as local server, Everything is fine. But a second language does not works on other hosting
I remember my expirience a few years ago and do 3!!!! times a folder with second language
Aleksei
Re: 2lang second language problem
Hm, is there again an issue with the .2lang file? Unless this file is in the folder, the folder is not detected as second language folder.ustalo wrote:cmsimple xh 1.6.7
I use MAmp as local server, Everything is fine. But a second language does not works on other hosting
I remember my expirience a few years ago and do 3!!!! times a folder with second language
Christoph M. Becker – Plugins for CMSimple_XH