New stream locale problem
Groups:
Hi all,
I'm having a problem while translating the new 2.0 Commons. When I enable the locale module and add the Spanish language (for example), the activity stream just shows the line separators. The text there, such us "<user> joined the group Our Community", simply disappears. I also tried to find the "joined the group" text in the interface translator with no success.
Is it possible to make this work in other languages?
Thank you for your help!


Comments
I just had the same problem
I just had the same problem with german. Seems that most of the text phrases for the activity log is not placed in a t() call. :-(
Tried to get a workaround, but no success so far.
somebody should be looking
somebody should be looking into other languages during testing period. valid for Drupal as well.
..agree...
..agree...
See this link
http://drupal.org/node/1261914
Opened issue in drupal.org
I opened an issue in drupal.org
see http://drupal.org/node/1272886
Just few tips
It my help a bit understanding some aspects working with Languages:
Link: Multi-site and Multi-language site developing short tips
How to install commons with a different default language?
The first rule of
http://community.thanage.eu/wiki/multi-site-and-multi-language-site-developing-short-tips
and also of
http://www.drupaler.co.uk/blog/multilingual-drupal-some-dos-and-donts/482
is:
"Don't change the default language after initial set-up. Set your default language right at the start and don't mess with it. Ever."
The question is: "How I can install Commons using Italian as default language since the Commons installation profile skip the language selection?
Quick response
If you would like to have a multilanguge Drupal-Commons install you may have to make some addition of code in drupal_commons.profile and also add a translation folder inside the installation profile of drupal_commons if you want to have a language choice by installation procedure.
AFAIK Commons 2 does not include a multilanguage setup by default yet. So you have to dive a bit deper in how Drupal works to build your custom multilanguage profile installation.
FYI: Not all the Commons 2 user interface maybe translated directly it needs some additional menu and other items to be add for having full user interface working smothly with other languages.
This is unacceptable for
This is unacceptable for such a big project like Commons is. There are so many websites in drupal that are not in English. Why isn't there a simple way how to change the default language to something else? I don't care that some text has to be translated - that's ok. But switching the default language does not work and activity stream gets broken after changing the basic language. I would expect better.
to @Killian
I really may accept with some strenght your critics. But you may strongly consider that COMMONS is not the biggest Drupal distribution project and AFAIK other more bigger project do actively pay strong attention to internationalization. Also you for sure should understand the very complex but advanced development of Drupal and appreciate that Acquia Company do have a very proffessional Team that is fully dedicated to close the gap to other similar distributions and do offer completely for free this awsome project to anyone. My modest knowledge and experience whinthin the Drupal community for almost 5 years allow me to highly appreciate the kindeness, motivations and dedication of all Drupal Volk, private or commercial, that do invest time, money and passion fo projects like Drupal Commons or other ones. We appreciate any suggestion and positive critics that may help to make COMMONS procede on his boosting success story.
Kind Regards
P.S. with a bit of more efforts and experience and practice, Drupal can for sure, using also all the awesome contributed module developed and provided as open source modules, especially for language and multilanguages run successfully.
I finally got a
I finally got a "solution":
If you have multiple installations, you can export your activity_log_templates table and import in the new ones. Just tested it and working. For further help, you can contact me. Best regards and hope this get fixed in new versions.
Be carefull to [Clear all message caches]
The solution described by jtorrado has been well discussed in http://drupal.org/node/1261914.
I can confirm that it works but be carefull:
if you go to page admin/settings/activity_log and click on [Clear all message caches] the templates will be rebuilded with the English language and the stream stops to work again.
IceCreamYou, the developer of the module Activity Log, suggest 4 different workarounds http://drupal.org/node/1261914#comment-5004730
The first one is the most "solid" solution.
I've tried it. It's a heavy job but it works very well,
It works also after a [Clear all message caches] and, for what I understood, will protect your content when you will update the module.
See description at:
http://drupal.org/node/1261914#comment-5008130 and
http://drupal.org/node/1261914#comment-5008862