Important announcements from CouchCMS team
74 posts Page 6 of 8
Previous 1 ... 3, 4, 5, 6, 7, 8 Next
olliwalli wrote: http://www.mysite.com/blog/article.html -> default language woth original URLs
http://www.mysite.com/fr/blog/article.html -> other language with language specific URLs

Is this already possible?

It would be great.


Oliver, it is not possible to keep both urls due to the inner design of the addon. Does the rank get lost if the old page is redirected to the new page? If the rank can be re-linked to the new location, then I see no major problem here.

I was working on my version of the addon that keeps the old htaccess rewrite rules for non-lc urls with redirect to default language. I could successfully make that old known pages were redirected to the new lc-prefixed locations.
Hi,

I'm still looking for a solution to the below. Can anyone help?

Thanks
Daz

dzauk wrote: Hi,

This Add-on is great! I still need to post my issues with the search (from above) which I will get around too but I have one more issue....

How would you setup 404 (and other errors) for this solution? I've set the ‘ErrorDocument’ line in the .htaccess to be ‘ErrorDocument 404 /404.php’ which is where the template sits however I don’t get the right results.

I’m working with 2 languages English and French. If I go to a missing page at the root of the domain, for example
Code: Select all
http://localhost:888/my-missing-page
then this forwards to
Code: Select all
http://localhost:888/en/404/
and shows the custom 404 page which is correct however if I try the same thing on either of the sub directories, i.e.
Code: Select all
http://localhost:888/en/my-missing-page
or
Code: Select all
http://localhost:888/fr/my-missing-page
then I just get the default ‘Page not found’ page.

Is it possible to setup so that you can have a 404 for each different language that works within the virtual directories?

Thanks
Daz
Does anyone got a sitemap running with that addon? I'm using the one from bartonsweb

https://www.couchcms.com/forum/viewtopic.php?f=8&t=11000&p=28336#p28327

But there are only the pages of one language shown.

Is it possible to iterate with:
Code: Select all
 
<cms:templates show_hidden='1' order='asc' >
<cms:each k_supported_langs as='lang' key='lc'>

</cms: each/>
</cms:templates>

through the pages?
Hi there!
I use multilanguage addon on my web site and it works great. But I have problem about dynamic_folders :(
How can I translate the folders name?
Does somebody combined Conditional Fields with a multi-lingual-template? Seems to me, that you can force the backend with radio-boxes or a dropdown to show only the selected language. Or am I missing something?
SimonWpt wrote: Does somebody combined Conditional Fields with a multi-lingual-template? Seems to me, that you can force the backend with radio-boxes or a dropdown to show only the selected language. Or am I missing something?

A conditionally-hidden "required" field is not "required" upon page save. If that is not a problem for particular backend, then, of course, you may opt in to see less cluttered backend on demand. Good idea :)
If "required" fields are needed, then instead go with simpler JS to hide stuff (no conditions) and do not persist the setting - reloaded page with possible errors must set everything visible.
trendoman wrote: reloaded page with possible errors must set everything visible.


Yeah, that might be a problem. It's difficult to find a best practice case. I will test.
I wanna turn off multi-lang addon because i will try some other approach but when i comment in addons/kfunction.php

Code: Select all
//require_once( K_COUCH_DIR.'addons/multi-lang/multi-lang.php' );


I get this message on web:

ERROR! Unknown tag: "show_with_lc"


So how can i turn off this addon?
misho86 wrote: I wanna turn off multi-lang addon because i will try some other approach but when i comment in addons/kfunction.php

Code: Select all
//require_once( K_COUCH_DIR.'addons/multi-lang/multi-lang.php' );


I get this message on web:

ERROR! Unknown tag: "show_with_lc"


So how can i turn off this addon?


I found error. Don't needed to answer :)
its working but with error :-
Deprecated: Array and string offset access syntax with curly braces is deprecated in C:\xampp\htdocs\lt\couch\addons\multi-lang\multi-lang.php on line 268

I am using -
CouchCMS Version 2.2.1 (20200116)
PHP version: 7.4.8
I temporally fix it by $sep = $prefix{2}; to $sep = $prefix[2]; in multi-lang.php on line 268 after google it.

but looking for right solution

Thanks in advance
Previous 1 ... 3, 4, 5, 6, 7, 8 Next
74 posts Page 6 of 8
cron