i am using locale and i18n to manage my site in german and english and i can search for strings there admin/settings/locale/string/search and i find all threadstitles if i search for them ... but i think that it is senseless to insert all titles and other strings there ... because why should i translate a forum? i have an english forum and a german on for the diverent users ...
to fix this problem you should remove the t() function from dynamic content!
e.g.: in function.inc.php -> function get_thread_title() there ist t($t->ThreadTitle) and you should replace it with $t->ThreadTitle without the t()
but you use t() in much more places ... i search for the string "thread" i find hundreds of url to the threads ... you use the translation function for $Postids and so on ...
please remove the t() function from everything there is no need to be translated! Thanks
read the help in common.inc from drupal there is the "home" of the function t() ;)
Comments
Comment #1
daniel.hunt commentedNice find there. When I originally started coding this module I didnt' fully understand the t() function, and what it was used for. I presumed it was for _all_ text, regardless of what it actually was.
Of course, I know what it does now :) I just never thought of the existing calls to the function in the code! I'll go through it soon and remove it from where it isn't needed. Thanks :)
Increased to critical
Daniel
Comment #2
daniel.hunt commentedThanks for this
Comment #3
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.