Posted by deviantintegral on December 23, 2008 at 12:31am
| Project: | Skeleton outlines |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
When editing templates, they should be able to be marked as translations of one another. Then, when creating an instance, a book is created for each translation, and the new nodes have the proper translation links set up so languages can easily be switched.
This isn't something I need for my current project, but I'm guessing most users of this module needing translation will want this feature. So, if you're interested, post a patch and I'll be glad to review it.
Comments
#1
Here is a patch which implements most of this feature. Most of it mirrors the i18n / translate UI and code, however we can't simply use those module's functions directly as they assume you're working with nodes.
Currently implemented:
skeleton_template_load_translations()Unless I run into any significant issues, I will likely commit this patch and open followup issues for the remainder of the items.
#2
Here is an update which fixes a
<> 0with a= 0.#3
Yet another typo of module_exists('translate') instead of module_exists('translation');
#4
Bah, lets upload the right file.
#5
Just to say, this is pretty freaking cool.
I may have to install just to test this....
#6
I've committed the patch from #4, and opened the following related issues. We've got this deployed on a live site now, and overall it seems to be working pretty well.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.