Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.069.410 Times

Translation helpers 7.x-1.0

  Date Added: April 14, 2013  |  Visits: 302

Translation helpers

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)

Translation helpers enables other modules to respond to changes in the "source translation" of a set of translated content. This functionality is useful for modules that track data by the "source translation" (node.tnid value).The module also provides other methods for modules to use with translated content.Developer usagehook_nodeapi('translation_change', $node)Translation helpers invokes a new $op for hook_nodeapi(): 'translation_change'.Implement this hook to respond to a change in a translation set. This is useful for any module tracking data by source translation (node.tnid).The $node object passed to this hook has a $node->translation_change property, consisting of an array. Keys are:'old_tnid': the now-deleted tnid (translation set ID).'new_tnid': the new translation set ID. If the translation set has been removed (because there was only a single remaining translation), this will be 0.'remaining_nid': in the case that the translation set was removed, the nid of the remining former member of the translation set.When a translation is deleted, one of two things can happen: 1. If there is only one remaining member of the translation set, the set is removed. In this case, the $node->translation_change['new_tnid'] value will be 0. 2. If the deleted node was the source translation and there are at least two remaining translations, a new translation source is selected. In this case, the $node->translation_change['new_tnid'] will be the nid of new translation source.Here's a sample hook implementation:See #318328: Hook to respond to change of source translation for a patch to add this hook to the core translation module.translation_helpers_get_translation($node, $language)Call this function to get the translation of a node in a given language. Returns FALSE if no such translation found.translation_helpers_get_source($node)Call this function to get the source translation of a node. Returns FALSE if no such translation found.Sponsored in part by CivicActions.

Requirements: No special requirements
Platforms: PHP
Keyword: Change Deleted Function Member Module Modules Nodegttranslation Change Tnid Quotsource Remaining Removed Respond Returns Source Track Translated Translation Translationquot
Users rating: 0/10

License: Freeware Size: 10 KB
TRANSLATION HELPERS RELATED
Modules  -  NukeFace FriendFinder Module 3.0
NukeFace (free) is an enhanced version of old FriendFinder (commercial) module. It is a social networking module for phpnuke CMS. If you want to setup a online dating website using php nuke content management system, this is a great addon. The...
624.64 KB  
Development Tools  -  DIFFERENTIAL EQ. SOLUTION THROUGH S-FUNCTION 1.0
Basic example for beginners, that shows how to solve the differential equation through S-Function****************DIFFERENTIAL EQ. SOLUTION THROUGH S-FUNCTION*********************************"Instructions for...
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB  
Education  -  Change the Word 1.1
Change the Word is educational app. Not "Change the World" but "Change the Word" Image is hint and you make a correct English word. Especially for Children, they can learn English easily. Let's enjoy with your...
15.8 MB  
Productivity  -  Express Lane 10 Minute Oil Change 1.2.1
Keep on top of your vehicle's maintenance with this free eSticker app from Express Lane 10 Minute Oil Change Centers. Keep your vehicle's oil change reminder sticker on your iPhone, iPod or iPad. Simply scan the eStickerID printed on your...
4.3 MB  
Photo & Video  -  MyEditor - Video editing application very easy to use! 2.2.0
MyEditor is a video editing application very easy to use! Function -Compositing video -Add transition -Change play speed -Change play volume -Trim video (0.01 sec unit) Please watching the tutorial! Requirements:...
8.6 MB  
Libraries  -  Class::Observable 1.04
Class::Observable is a Perl module that allows other classes and objects to respond to events in yours. SYNOPSIS # Define an observable class package My::Object; use base qw( Class::Observable ); # Tell all classes/objects observing this...
10.24 KB  
Finance  -  Data redirect 3.7.6.214
Data redirect is an additional module that allows you redirect a data from one data source (for example, COM1) to another data source (for example, COM2). In this case the program will work as a bridge between two data sources. You may filter or...
 
Libraries  -  Chart::Graph::Gnuplot 3.2
Chart::Graph::Gnuplot is a function in module Chart::Graph that lets you generate graphs on the fly in perl. SYNOPSIS use Chart::Graph::Gnuplot qw(&gnuplot); gnuplot(%global_options, [%data_set_options, @matrix], [%data_set_options,...
8.19 KB  
Automation Tools  -  OpenRelease 0.1.13
OpenRelease is a Python module which automates the packaging, release and announcement of Open Source software. The pack class creates packages, which are defined by packer classes, manages versioning, and brings up your notes and changelog in...
143.36 KB  
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB