Hi you all,
I've intalled the module with no problems but all the activity lines are not translated, always are shown on english despite I can see the proper translation on the Translate interface admin page. The site is showing properly translated strings on the rest of modules, just the activity lines (everywhere) are not translated.
Any idea?
Comments
Comment #1
asak commentedwow. this is messy...
(subscribing)
Comment #2
junro commentedsubscribe :)
Comment #3
drewish commentedThe activities are stored in the db in the language you specify but there's no provision made to translate them. Since the current system is by design I'd say this is really more of a feature request than a bug report.
Comment #4
drewish commentedThere's a couple of ways I think this could be approached. You could store the unprocessed string with "[token] values un-replaced" and an array of values like the watchdog modules does in D6. Or you could add a language field to the activity table and add settings for each language.
Comment #5
asak commented@drewish: I need this done ASAP, would you be interested to make this fix for some dinero so i could solve my problem and Activity could be multilingual?
Or - anyone else wants to take this? not sure what should be the bounty - please contact me ASAP if you can get this done yesterday.
Thanks!
Comment #6
asak commentedHemmm ... anyone... ? ;)
Comment #7
drewish commentedI'd really need to talk with the maintainers before I started on a task like that because it would take some big changes that would need their approval to avoid just forking the module.
Comment #8
asak commented@drewish - sent you a private message about this.
Anyone else out there feels like taking this little missions? if so - please contact me ASAP ;)
I think the "You could store the unprocessed string with "[token] values un-replaced" and an array of values like the watchdog modules does" approach drewish suggested is the most reasonable.
Cheers!
Comment #9
asak commented*bump*
Comment #10
asak commentedOk - after much testing i got it working. currently, i'm using the i18n_variables in settings.php as following, and even tough a didn't get the "This is a multilingual variable" text in bold below the fields like i'm used to, it seems to work:
$conf['i18n_variables'] = array(
'useractivity_user_insert_author',
'useractivity_user_update_author',
'useractivity_user_insert_all',
'useractivity_user_update_all',
'commentactivity_comment_insert_author',
'commentactivity_comment_update_author',
'commentactivity_comment_delete_author',
'commentactivity_comment_insert_parent_node_author',
'commentactivity_comment_update_parent_node_author',
'commentactivity_comment_delete_parent_node_author',
'commentactivity_comment_insert_parent_comment_author',
'commentactivity_comment_update_parent_comment_author',
'commentactivity_comment_delete_parent_comment_author',
'commentactivity_comment_insert_all',
'commentactivity_comment_update_all',
'commentactivity_comment_delete_all',
'user_relationshipsactivity_follow_deleted_all',
'user_relationshipsactivity_follow_requested_requester',
'user_relationshipsactivity_follow_canceled_requester',
'user_relationshipsactivity_follow_deleted_requester',
'user_relationshipsactivity_follow_requested_requestee',
'user_relationshipsactivity_follow_canceled_requestee',
'user_relationshipsactivity_follow_deleted_requestee',
'nodeactivity_tutorial_insert_all',
'nodeactivity_tutorial_update_all',
'nodeactivity_tutorial_delete_all',
'nodeactivity_tutorial_insert_author',
'nodeactivity_tutorial_update_author',
'nodeactivity_tutorial_delete_author',
'nodeactivity_submission_special_insert_all',
'nodeactivity_submission_special_update_all',
'nodeactivity_submission_special_delete_all',
'nodeactivity_submission_special_insert_author',
'nodeactivity_submission_special_update_author',
'nodeactivity_submission_special_delete_author',
'nodeactivity_submission_ongoing_insert_all',
'nodeactivity_submission_ongoing_update_all',
'nodeactivity_submission_ongoing_delete_all',
'nodeactivity_submission_ongoing_insert_author',
'nodeactivity_submission_ongoing_update_author',
'nodeactivity_submission_ongoing_delete_author',
'nodeactivity_submission_gallery_insert_all',
'nodeactivity_submission_gallery_update_all',
'nodeactivity_submission_gallery_delete_all',
'nodeactivity_submission_gallery_insert_author',
'nodeactivity_submission_gallery_update_author',
'nodeactivity_submission_gallery_delete_author',
'nodeactivity_story_insert_all',
'nodeactivity_story_update_all',
'nodeactivity_story_delete_all',
'nodeactivity_story_insert_author',
'nodeactivity_story_update_author',
'nodeactivity_story_delete_author',
'nodeactivity_profile_insert_all',
'nodeactivity_profile_update_all',
'nodeactivity_profile_delete_all',
'nodeactivity_profile_insert_author',
'nodeactivity_profile_update_author',
'nodeactivity_profile_delete_author',
'nodeactivity_page_insert_all',
'nodeactivity_page_update_all',
'nodeactivity_page_delete_all',
'nodeactivity_page_insert_author',
'nodeactivity_page_update_author',
'nodeactivity_page_delete_author',
'nodeactivity_blog_insert_all',
'nodeactivity_blog_update_all',
'nodeactivity_blog_delete_all',
'nodeactivity_blog_insert_author',
'nodeactivity_blog_update_author',
'nodeactivity_blog_delete_author',
'nodeactivity_webform_insert_all',
'nodeactivity_webform_update_all',
'nodeactivity_webform_delete_all',
'nodeactivity_webform_insert_author',
'nodeactivity_webform_update_author',
'nodeactivity_webform_delete_author',
'nodeactivity_poll_insert_all',
'nodeactivity_poll_update_all',
'nodeactivity_poll_delete_all',
'nodeactivity_poll_insert_author',
'nodeactivity_poll_update_author',
'nodeactivity_poll_delete_author',
'nodeactivity_faq_insert_all',
'nodeactivity_faq_update_all',
'nodeactivity_faq_delete_all',
'nodeactivity_faq_insert_author',
'nodeactivity_faq_update_author',
'nodeactivity_faq_delete_author',
'nodeactivity_image_insert_all',
'nodeactivity_image_update_all',
'nodeactivity_image_delete_all',
'nodeactivity_image_insert_author',
'nodeactivity_image_update_author',
'nodeactivity_image_delete_author',
'nodeactivity_articles_insert_all',
'nodeactivity_articles_update_all',
'nodeactivity_articles_delete_all',
'nodeactivity_articles_insert_author',
'nodeactivity_articles_update_author',
'nodeactivity_articles_delete_author',
'nodeactivity_book_insert_all',
'nodeactivity_book_update_all',
'nodeactivity_book_delete_all',
'nodeactivity_book_insert_author',
'nodeactivity_book_update_author',
'nodeactivity_book_delete_author',
'nodeactivity_tellafriend_insert_all',
'nodeactivity_tellafriend_update_all',
'nodeactivity_tellafriend_delete_all',
'nodeactivity_tellafriend_insert_author',
'nodeactivity_tellafriend_update_author',
'nodeactivity_tellafriend_delete_author',
'nodeactivity_best_practices_insert_all',
'nodeactivity_best_practices_update_all',
'nodeactivity_best_practices_delete_all',
'nodeactivity_best_practices_insert_author',
'nodeactivity_best_practices_update_author',
'nodeactivity_best_practices_delete_author',
'nodeactivity_contest_special_insert_all',
'nodeactivity_contest_special_update_all',
'nodeactivity_contest_special_delete_all',
'nodeactivity_contest_special_insert_author',
'nodeactivity_contest_special_update_author',
'nodeactivity_contest_special_delete_author',
'nodeactivity_editor_voice_insert_all',
'nodeactivity_editor_voice_update_all',
'nodeactivity_editor_voice_delete_all',
'nodeactivity_editor_voice_insert_author',
'nodeactivity_editor_voice_update_author',
'nodeactivity_editor_voice_delete_author'
);
I'm not sure if this is the only change done, since i edited the module a bit. if someone encounters this issues, test it out...
Comment #11
sirkitree commentedclosing. 1.x no longer supported.