Closed (fixed)
Project:
Localizer
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
13 Mar 2007 at 15:00 UTC
Updated:
14 Apr 2007 at 21:02 UTC
Just updated on cvs a new feature : optional support for different contents types.
It is an extension of the already present forum support.
You need the last localizer.module and localizernode.module from the cvs
Comments
Comment #1
Wuk commentedWhat does it mean to disable support for content type?
The thing is that after I disable support for some content type eg. forum/page, I can see locale dropdown list with possibility to choose language or any.
IMO I should not be able to choose language, but language should be set to "Any" without me knowing that there is possibility to choose language.
Comment #2
huayen commentedSo, we need to patch these two files again?
Comment #3
huayen commentedBTW, another question about using patch files.
I patched the files under shell command. My question is: if I uninstall localizer module, will those patched files be rollback to original status? Or I have to keep an original copy before I install localizer module? Thanks.
Comment #4
Roberto Gerola commented>What does it mean to disable support for content type?
You can decide for each content type if the rewriting rules of localzier should be applied
or not.
For example, you would like to have forum only in one language and see all the posts
regardless of the selected language.
Comment #5
Roberto Gerola commented> So, we need to patch these two files again?
If you have already pached them it isn't necessary.
>will those patched files be rollback to original status?
The patches are written to work also if localizer is removed.
If localizer is not used, the "patched behavior" is simply not executed.
Comment #6
Roberto Gerola commented>IMO I should not be able to choose language, but language should be set to "Any"
>without me knowing that there is possibility to choose language.
You are right.
I'll fix also this.
Thanks
Comment #7
Roberto Gerola commentedNow the languages list appears in the edit form only for selected contents types.
Comment #8
Wuk commentedThank you for everything you have done.
I have another request, I have content type with disabled localizer support for it.
The "Translations" link still appears in node body/header, and when I click on that link I get SQL errors.
Could you, please, remove it (and also when someone tries to enter it through address bar "...node/x/localizernode).
Comment #9
Roberto Gerola commentedYes, I see that I have missed to hide it.
I'll fix it. Thanks.
Comment #10
sunSeems like this is fixed in the latest development snapshot.
Comment #11
(not verified) commented