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 |
Jump to:
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
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
I have the same issue with the "automatic nodetitles" module.
#3
No one to help us ?
#4
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
What is status of this issue ?