I am assuming a menu is going to be associated with the default language. If you change the default god knows what happens. But under the Translations it shows my default of English. This is redundant. It is easily ignored. But though it could be cleaned up.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | localizer-memuformmagic.patch | 4.4 KB | ray007 |
Comments
Comment #1
Roberto Gerola commentedYes.
I'm going to implement this proposal : http://drupal.org/node/111773
Read there the sense of this solution.
Comment #2
pearcec commentedI think I follow. I think this makes sense. Of course it seems to limit the idea of having a menu item only for one language. I will try to stay informed for the changes and see if I understood it correctly.
Comment #3
ray007 commentedI already have started coding on the form-side of things for this, but don't have as much time as I want for it.
Hope to get a patch ready this weekend ... at least for the "edit menu item" and "edit menu" pages.
Comment #4
Roberto Gerola commentedOk.
So I'll can finish to fix some annoying bugs and perhaps starting with the integration of the
variable support.
Comment #5
ray007 commentedThis path for localizermenu.module does some form-magic, so we don't have too many input fields, and the current locale is always in the main-fields.
What probably missing, is to pre-set the default-value for the translation with the original version, if it doesn't exist yet.
I also didn't touch the database logic behind all this ... Roberto, you know that code a lot better than I do ;-)
Apply patch from inside the localizer-directory.
Fine for the UI-side of things, or something ugly?
Comment #6
Roberto Gerola commentedMany thanks.
I'll integrate it during this weekend, and I'll apply a similar
system also for taxonomy support.
Comment #7
ray007 commentedIf you want help on the form-side somewhere just tell me, I think I've got a bit of a feeling for that now.
One little problem I've just seen with my patch: on the edit-menu-item page, the title and description fields have swapped place on the main form, that may need adjusting weights or adding the items in reversed order ...
Comment #8
sunThis has been fixed in v1.7 and is optimized in v2.x.
Comment #9
(not verified) commented