i18n support - sync weights between translations

lop - October 7, 2009 - 23:10
Project:nodeorder
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:needs work
Description

This is a first attempt to make the nodeorder module support i18n.
Basically it is synchronizing the 'weight_in_tid' values between translations of the same node for each term, so now the node listings are in the same order in every language.
This approach is useful only if you have i18n, i18nsync and i18ntaxonomy modules enabled, your vocabulary is set to 'Localize terms' and you are synchronizing 'taxonomy' in i18nsync settings.

Currently there are only 2 drawbacks I know of:

  1. If your content is a mix of nodes with language and 'language neutral', the functionality of Move up and Move down is not always working correctly.
  2. The synchronization of weights between translations during editing of a node witch any change in terms, is working correctly only if you are editing the source translation of a node.
AttachmentSize
norder_i18nsync_weight.patch5.31 KB
norder_i18nsync_weight.admin_.patch394 bytes

#1

pvanderspek - November 15, 2009 - 14:29
Status:needs review» needs work

I'm not familiar with the i18n modules, but the two issues you point out really need to be solved before this patch can be applied. Have you been able to solve them already?

 
 

Drupal is a registered trademark of Dries Buytaert.