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

drewish - May 26, 2009 - 20:10
Status:active» fixed

yeah, it's done on each node's translation tab.

#2

mvc - June 3, 2009 - 14:17
Status:fixed» active

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

drewish - June 3, 2009 - 14:52
Status:active» fixed

[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.

AttachmentSize
Picture 6.png 82.22 KB

#4

strellman - June 5, 2009 - 12:41
Title:How to assign priorities» How to assign priorities?
Version:6.x-2.1» 6.x-2.2

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.

AttachmentSize
translation_no_priority.jpg 68.33 KB

#5

drewish - June 5, 2009 - 15:32
Status:fixed» postponed (maintainer needs more info)

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

strellman - June 11, 2009 - 11:06

Here is the multilanguage module section.

AttachmentSize
multilanguage-modules.jpg 153.04 KB

#7

drewish - June 11, 2009 - 19:05

try disabling the synchronize translation module and see if that helps.

#8

Mr P - June 18, 2009 - 17:53

I have the same problem - here's my module list.

EDIT: Have turned of synch trans.

AttachmentSize
multi.gif 98.07 KB

#9

Jolidog - August 11, 2009 - 15:50

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

Jolidog - August 11, 2009 - 15:58

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

markus_petrux - August 12, 2009 - 16:46
Status:postponed (maintainer needs more info)» active

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

Jolidog - August 13, 2009 - 11:15

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

 
 

Drupal is a registered trademark of Dries Buytaert.