Closed (fixed)
Project:
Drupal Commons
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Nov 2011 at 08:25 UTC
Updated:
17 Jun 2014 at 07:10 UTC
Jump to comment: Most recent
Comments
Comment #1
cpliakas commentedIf you are comfortable with theming, you can override the profiles/drupal_commons/themes/commons_roots/views-view-field--user-meta--name.tpl.php template in a custom subtheme.
If you are not a themer, you can add a custom string override in the settings.php file changing the text to whatever you want. Add the following snippet at the bottom of the file:
Check out the String Overrides documentation for more info.
Thanks,
Chris
Comment #2
differentspin commentedThanks for the information. One thing I'm not clear on is why I have to go into the code to add the string override. Would it be possible to just do this through the string override interface?
Comment #3
cpliakas commentedIf you want to download and install the String Overrides module you could definitely do it that way as well.
Comment #4
differentspin commentedComment #5
differentspin commentedSo I was able to change the Welcome Text, but I realized I just opened up a can of worms in trying to find all the areas that need to be translated for various Commons features.
I see that many of the blocks that I'm trying to translate come from views (for example: groups_most_active) Can you point me in the right direction to find where to find the strings that I can override in String Overrides?
Thanks again
Comment #6
cpliakas commentedSo Views is a whole other can of worms :-). I honestly am not an expert on translating the content that is present in Views, so I would have to yield to an i18n expert to shed some light here.
Comment #7
lsolesen commentedYou can also use Lingotek to do the translation.