How can I limit the built in search content type in wcms v1.8 to only display the current lang content?
Possible?
in theory, not possible
practically, try putting the {LANG} tags where the result is displayed
that should make a change
if i want to make a bigger 1-lang (german) site multilang (en & de)
do i have to include all the available german content into the {de}content{/de} tags to make the script working?
no
you define just the german as main language, and the tags are needed just if you want both languages, otherwise only german is more than enough
no tags -> main language is used
I only have problems using it with Content Part "File List".
Is it possible to make a language difference between the files,
for instance downloadable pdf files in multiple languages?!
well, maybe there's a workaround.
You create a first WYSIWYG content part, that contains the {LANG} part, then insert the list part with all the files in that language, then another {/LANG} wysiwyg content part and so on
this makes wcms render all, but all parts are included in that way
alternative, you use the dreaded "fulvio url technique"
- create a blank template, with just {CONTENT} in it
- create a hidden menu level where you put a different page per language
- create another template, that has this thing going
{CONTENT}
{LANG}{URL:
http://www.mysite.com/index.php?id=myenglishpage}{/LANG}
{LANG2}{URL:
http://www.mysite.com/index.php?id=mygermanpage}{/LANG2}
and so on....
should be working...
