Results 1 to 4 of 4

Thread: How to rename a module?

  1. #1
    mccon1 is offline Sugar Community Member
    Join Date
    Sep 2008
    Posts
    34

    Default How to rename a module/subpanel?

    Hi,

    I just installed Open Source SugarCRM 5.2.0i and now I am customizing it. I'd like to rename the module (or is it a subpanel?) "Activities" to "Todo" and the module/subpanel "Cases" to "Documents". I am using the German language pack.

    I only found "Rename Tabs" in the admin menue, where I could rename the Acrivities/Cases, but it is only shown in the Tabs on top, on the Contacts site for example its still Activities/Cases.

    Is it possible?

    Many thanks in advance,
    mccon1
    Last edited by mccon1; 2009-09-02 at 12:24 PM.

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: How to rename a module?

    You have to create a file in the custom/Extension/application/Ext/Language/en_us.modulename.php and put following line into it.

    $app_list_strings['moduleList']['oldmodulename'] = 'newmodulename';

    Go to Admin->repair->Quick Repair and Rebuild

  3. #3
    mccon1 is offline Sugar Community Member
    Join Date
    Sep 2008
    Posts
    34

    Default Re: How to rename a module?

    Thank you very much for your answer!
    I did as you said, but it only renames the Tabs, e.g. its the same than clicking on "Rename Tabs". When I click on the renamed Tab, I still see Activities/Cases. On the Contacts site there are also still the Activities and Cases subpanel with the old names, not the new ones.

    Any other ideas?

    regards,
    mccon1

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: How to rename a module/subpanel?

    Quote Originally Posted by mccon1 View Post
    Hi,

    I just installed Open Source SugarCRM 5.2.0i and now I am customizing it. I'd like to rename the module (or is it a subpanel?) "Activities" to "Todo" and the module/subpanel "Cases" to "Documents". I am using the German language pack.

    I only found "Rename Tabs" in the admin menue, where I could rename the Acrivities/Cases, but it is only shown in the Tabs on top, on the Contacts site for example its still Activities/Cases.

    Is it possible?

    Many thanks in advance,
    mccon1
    Hi mccon1

    If your sugar is installed into a Linux/Unix machine you can run this command to identify which language files need to be extended to accomplish your request:
    cd </path/to/sugar>
    find -name "ge_ge.lang.php" | xargs grep -n "Activities"
    find -name "ge_ge.lang.php" | xargs grep -n "Cases"

    You will see a list of files containing the entries to be redefined.
    Create the appropriate extended language files with the translation you want.

    Exemples:
    for ch
    • anges on Accounts language file (modules/Accounts/language/ge_ge.lang.php) the extended version should be: custom/Extension/modules/Accounts/Ext/Language/ge_ge.lang.php
    • for changes on application language file (include/language/ge_ge.lang.php) the extended version should
    be: custom/Extension/application/Ext/Language/ge_ge.lang.php

    Go to Admin -> Repair -> Rebuild Extensions

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to rename "Bugs" module
    By bathi741 in forum Developer Help
    Replies: 9
    Last Post: 2009-12-08, 06:10 PM
  2. Rename Home module dashlet titles?
    By gregm in forum General Discussion
    Replies: 1
    Last Post: 2009-08-15, 12:41 PM
  3. Rename <module>:Home
    By WEB11 in forum Help
    Replies: 1
    Last Post: 2009-03-27, 10:12 PM
  4. How do I copy/rename existing custom module?
    By jim.thornton in forum Developer Help
    Replies: 2
    Last Post: 2009-02-28, 05:30 AM
  5. Module Builder: Could not rename Dashlet subdir
    By jkentjnr in forum Developer Help
    Replies: 0
    Last Post: 2007-08-05, 08:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •