with drupal translate interface, I can modify or translate Forum label or link except :"Post new Forum topic" .
I don't find it.

Comments

cpo’s picture

Title: Label/Link "Post new Forum topic" not translatable » Label/Link "Post new @node_type" ( "Post new Forum topic" ) not translatable
cpo’s picture

Precision : I find "Post new @node_type" , I can translate it but doesn't work

Jinbo’s picture

same here!
"Post new Forum topic" not translatable
It can't be translate after I activate Taxonomy translation mod

Please help!!

efanchik’s picture

I found the problem in module i18ntaxonomy.module line 1058:
$variables['links']['forum']['title'] = i18nstrings('nodetype:type:forum:post_button', 'Post new Forum topic');.
Wrap the string in t() function like here: i18nstrings('nodetype:type:forum:post_button', t('Post new Forum topic'));.
Then go to Addministration->Site Construction->Translate interface->Search found youre string and translate into your language.
Good like!

Damien Tournoud’s picture

Project: Drupal core » Internationalization
Version: 6.17 » 6.x-1.x-dev
Component: forum.module » Taxonomy
cpo’s picture

#5 fix it.
Thanks

alokicreon’s picture

wjroes’s picture

To fix it like this does work, but doesn't make sense. You're mixing up two different translation methods. The problem is the i18n module trying to translate a field which is not available in the UI and therefore cannot be translated.
Either way if you fix it like this, at least do not change the core module but override the preprocess function in your theme's template.php e.g. like so:

function YOURTHEME_preprocess_forums(&$variables) {
    if (isset($variables['links']['forum']['title'])) {
      $variables['links']['forum']['title'] = t('Post new Forum topic');
    } 
}
cpo’s picture

This bug still exists in new version 6.x-1.10. Please , fix it in new version => #4 works fine !!!!

cpo’s picture

Version: 6.x-1.x-dev » 6.x-1.10

This bug still exists in new version 6.x-1.10. Please , fix it in new version => #4 works fine !!!!

joseph.olstad’s picture

Issue summary: View changes
Status: Active » Closed (outdated)