Token are not all translated correctly

srobert72 - August 11, 2009 - 07:11
Project:Token
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:token, translate
Description

Hi all,

Thx for your good job.

I defined my "Content Type - XXXXX" page title as :
[type-name] ~ [page-title] ~ [site-name] ([language])
[page-title] ~ [site-name] ([language]) ==> OK, they are translated
[type-name] ==> NOK, it always appears in english

Same for Taxonomy, I defined my "Vocabulary - XXXXX" page title as :
[vocab] ~ [page-title] ~ [site-name]
[page-title] ~ [site-name] ==> OK, they are translated ([cat] in [page-title] is transaletd)
[vocab] ==> NOK, it always appears in english

Did I missed something ?
How could I translated my page title completly ?

Thx a lot

#1

srobert72 - August 11, 2009 - 07:20

I'd like to precise that all my ContentType names are translated with TranslationTable.
If I show Node:Type in a Node view it appears translated.
The problem is only in PageTitle.

#2

tomsm - September 29, 2009 - 07:22

I have the same issue with the "automatic nodetitles" module.

#3

srobert72 - November 26, 2009 - 19:49

No one to help us ?

#4

nicholasThompson - December 2, 2009 - 12:44
Project:Page Title» Token
Version:6.x-2.x-dev» 6.x-1.x-dev

This sounds more like a bug with the Token module...
See:
http://drupalcode.org/viewvc/drupal/contributions/modules/token/token_no...

Note how the [type] token gets assigned the value of $node->type. Shouldn't that get passed to the t() function?

Moving to the Token module... I cant see how Page Title can solve this one considering the token at fault is being provided by the Token module.

#5

srobert72 - December 25, 2009 - 19:05

What is status of this issue ?

 
 

Drupal is a registered trademark of Dries Buytaert.