This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Difference between revisions of "Customize language"

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search
(Created page with "It's possible to change any language string in Group-Office. Fllow these steps if you want to change the phrase Note to Memo for example: # Open 'modules/notes/language/en.php' ...")
 
Line 1: Line 1:
It's possible to change any language string in Group-Office. Fllow these steps if you want to change the phrase Note to Memo for example:
+
It's possible to change any language string in Group-Office. Follow these steps if you want to change the phrase Note to Memo for example:
  
 
# Open 'modules/notes/language/en.php' and lookup $l['note']='Note';, $l['name']='Notes'; and $l['notes']='Notes';.
 
# Open 'modules/notes/language/en.php' and lookup $l['note']='Note';, $l['name']='Notes'; and $l['notes']='Notes';.
# Now login as 'admin' and go to the Group-Office file manager.  
+
# Now login as 'admin' and go to the Group-Office file manager. It only works for the user with the exact username 'admin'.
 
# Create a folder called 'lang' in the admin's folder. If you want to have multiple translations you might want to create subfolders with the iso code. Eg. lang/nl, lang/en etc.
 
# Create a folder called 'lang' in the admin's folder. If you want to have multiple translations you might want to create subfolders with the iso code. Eg. lang/nl, lang/en etc.
 
# Go to that folder and select New -> Empty file and name it notes.php.
 
# Go to that folder and select New -> Empty file and name it notes.php.

Revision as of 09:47, 6 February 2013

It's possible to change any language string in Group-Office. Follow these steps if you want to change the phrase Note to Memo for example:

  1. Open 'modules/notes/language/en.php' and lookup $l['note']='Note';, $l['name']='Notes'; and $l['notes']='Notes';.
  2. Now login as 'admin' and go to the Group-Office file manager. It only works for the user with the exact username 'admin'.
  3. Create a folder called 'lang' in the admin's folder. If you want to have multiple translations you might want to create subfolders with the iso code. Eg. lang/nl, lang/en etc.
  4. Go to that folder and select New -> Empty file and name it notes.php.
  5. Edit this document and enter:
    <?php
    $l['notes']='Memos';
    $l['name']='Memos';
    $l['note']='Memo';
  6. Now run the upgrade procedure so the server cache will be cleared: http://your.host/groupoffice/?r=maintenance/upgrade
  7. Notice that the module is now called Memos instead of Notes.


If you want to customize base language files that are not part of a module. Then call the file base_common.php for eg.

To view the available language download the language pack from your own Group-Office installation:

http://my.groupoffice.net/?r=maintenance/zipLanguage&lang=en