--- Downloads/sandbox/i18n/i18ncontent/i18ncontent.module	2009-04-28 00:50:49.000000000 +0800
+++ Workspace/rightsite.asia/trunk/modules/contributed/i18n/i18ncontent/i18ncontent.module	2009-07-30 20:01:57.000000000 +0800
@@ -207,4 +207,31 @@ function i18ncontent_node_add($type) {
   }
 
   return $output;  
+}
+
+/**
+ * Implementation of hook_token_values().
+ */
+function i18ncontent_token_values($type, $object = NULL, $options = array()) {
+  $values = array();
+  
+  if ($type == 'node') {
+    $node = $object;
+    $values['type-translated'] = node_get_types('name', $node->type);
+    if (function_exists('locale') && $node->language != 'en') {
+      $values['type-translated'] = locale($values['type-translated'], $node->language);
+    }
+  }
+
+  return $values;
+}
+
+/**
+ * Implementation of hook_token_list().
+ */
+function i18ncontent_token_list($type = 'all') {
+  if ($type == 'node' || $type == 'all') {
+    $tokens['node']['type-translated'] = t('Node type translated in the node\'s language');
+    return $tokens;
+  }
 }
\ No newline at end of file
