How to assign priorities?
strellman - May 25, 2009 - 15:40
| Project: | Translation Overview |
| Version: | 6.x-2.2 |
| Component: | Documentation |
| Category: | support request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Description
"It also lets you assign priorities for translating..."
Where can I do this? Is this node by node?

#1
yeah, it's done on each node's translation tab.
#2
I guess I'm dense too, but I don't see where to set this at all. Perhaps a quick README file would help? I'd contribute one, but I don't know how this works.
#3
[I'm assuming you're already translating nodes and understand that work flow.]
First off I'd say grab the 6.x-2.2 version it's got some big bug fixes. Then make sure you've assigned the management permissions to the roles that should be able to assign priorites, then on each node's translate tab you'll see radio buttons to set priorities for each language. See the attached picture.
#4
Great module. Love the search for existing nodes to match up as translations.
Thanks for the jpg. A picture is worth a thousand words. But I'm still stuck. Why doesn't my screen look like that. Permissions are all turned on. Now using 2.2 but here is my screen without priorities for /node/87/translate?destination=admin/content/translation_overview_manage.
#5
Humm, that "search for existing nodes to match up as translations" bit at the bottom isn't from Translation Overview. It looks like that another module and TO are fighting over the form and TO is loosing. What other internationalization modules do you installed?
#6
Here is the multilanguage module section.
#7
try disabling the synchronize translation module and see if that helps.
#8
I have the same problem - here's my module list.
EDIT: Have turned of synch trans.
#9
I also don't have access to this funcionality.
Using the i18n v1.1
Tried to disable all submodules, but still no priorities. Only when i18n was completly disabled, the options appeared.
Changed the weight of module on the system table to 11 (i18n is 10 in my system) but no go.
Hope this helps solving the issue.
Thank you for this module!
#10
Forgot to add that the option to search for another node on the translate page is being added by the i18n core module since release 1.1.
See #295682: Choose an existing node as a translation.
#11
The culprit is the i18n module itself.
See i18n_menu_alter() in i18n.module:
<?php/**
* Implementation of hook_menu_alter().
*
* Take over the node translation page.
*/
function i18n_menu_alter(&$items) {
$items['node/%node/translate']['page callback'] = 'i18n_translation_node_overview';
$items['node/%node/translate']['file'] = 'i18n.pages.inc';
$items['node/%node/translate']['module'] = 'i18n';
}
?>
Compare to hook_menu_alter() implementation in TO:
<?php/**
* Implementation of hook_menu_alter().
*/
function translation_overview_menu_alter(&$callbacks) {
// Replace the translation module's node tab with our own.
$callbacks['node/%node/translate']['module'] = 'translation_overview';
$callbacks['node/%node/translate']['page callback'] = 'translation_overview_node_page';
$callbacks['node/%node/translate']['file'] = 'translation_overview.pages.inc';
}
?>
I believe it's hard to find a solution as both modules provide different features adn overriding forms rendered in tables is not easy. Maybe it could be possible to integrate TO features in i18n? ...or maybe TO could provide its own method to assign priorities from the node edit form?
#12
I don't think the node edit form needs another option/field in there.
Perhaps as a tab in the translation overview page? It would filter, only showing the relevant nodes and it would be a central place to control priorities.
This ofcourse would be a major change in the module... :P