Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
with drupal translate interface, I can modify or translate Forum label or link except :"Post new Forum topic" .
I don't find it.
Comments
Comment #1
cpo CreditAttribution: cpo commentedComment #2
cpo CreditAttribution: cpo commentedPrecision : I find "Post new @node_type" , I can translate it but doesn't work
Comment #3
Jinbo CreditAttribution: Jinbo commentedsame here!
"Post new Forum topic" not translatable
It can't be translate after I activate Taxonomy translation mod
Please help!!
Comment #4
efanchik CreditAttribution: efanchik commentedI 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!
Comment #5
Damien Tournoud CreditAttribution: Damien Tournoud commentedComment #6
cpo CreditAttribution: cpo commented#5 fix it.
Thanks
Comment #7
alokicreon CreditAttribution: alokicreon commentedhttp://drupal.org/node/add/forum/0
Comment #8
wjroes CreditAttribution: wjroes commentedTo 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:
Comment #10
cpo CreditAttribution: cpo commentedThis bug still exists in new version 6.x-1.10. Please , fix it in new version => #4 works fine !!!!
Comment #11
cpo CreditAttribution: cpo commentedThis bug still exists in new version 6.x-1.10. Please , fix it in new version => #4 works fine !!!!
Comment #12
joseph.olstad