Logo Help Center

Changing the terminology in Enterprise 9

Changing the terminology in Enterprise 9

The default Enterprise installation makes use of the following standard terminology:

  • Brand
  • Issue
  • Category
  • Edition
  • Status

These may work fine if you are a newspaper publisher, but a books publisher would most likely prefer terminology such as Project, Book, Chapter, and Status instead.

Changing the terminology to your needs can be done in the following ways:

  • Making global changes by modifying the configlang.php file
  • Making local changes by changing the names of metadata properties
  • Making local changes by modifying specific language files

Making global changes by modifying the configlang.php file

By using this method, the terminology for all Brands on one particular Enterprise server is changed.

Note: To set up different Brands using different terminologies, create a separate Enterprise Server installation for each change of terminology.

Step 1. Make a backup of the current configlang.php file.

Step 2. Open the configlang.php file.

Step 3. Locate the section function getUiTerms().

function getUiTerms()
{
static $terms;
if (!isset($terms)) { 
$terms = array();
$terms[] = new Term( 'Publication',   BizResources::localize('PUBLICATION',false) );
$terms[] = new Term( 'Publications',  BizResources::localize('PUBLICATIONS',false) );
$terms[] = new Term( 'Issue',         BizResources::localize('ISSUE',false) );
$terms[] = new Term( 'Issues',        BizResources::localize('ISSUES',false) );
$terms[] = new Term( 'Section',       BizResources::localize('CATEGORY',false) ); 
$terms[] = new Term( 'Sections',      BizResources::localize('CATEGORIES',false) ); 
$terms[] = new Term( 'Category',      BizResources::localize('CATEGORY',false) );
$terms[] = new Term( 'Categories',    BizResources::localize('CATEGORIES',false) );
$terms[] = new Term( 'Edition',       BizResources::localize('EDITION',false) );
$terms[] = new Term( 'Editions',      BizResources::localize('EDITIONS',false) );
$terms[] = new Term( 'State',         BizResources::localize('STATE',false) );
$terms[] = new Term( 'States',        BizResources::localize('STATES',false) );
$terms[] = new Term( 'Phase',         BizResources::localize('WORKFLOW_PHASE',false) );
		...

Step 4. Replace each BizResources reference by the new term, using the following format:

Current format:

$terms[] = new Term( '[OLD NAME]', BizResources::localize('[NEW NAME]',false) );

New format:

$terms[] = new Term( '[OLD NAME]', '[NEW NAME]' );

Example: Here, the term 'Section' has been replaced by 'Chapter':

$terms[] = new Term( 'Section', BizResources::localize('CATEGORY',false) );

$terms[] = new Term( 'Section', 'Chapter' );

Note: See the section below about using Unicode characters.

Step 5. Save the file in plain text (ASCII) format.

About using Unicode characters

The following is not supported:

  • The use of Unicode format (it is not supported by PHP version 5)
  • Accented characters (this might be converted to Unicode by your editor without you being aware of this). When used — and the editor saves a UTF BOM marker at begin of the file — all SOAP clients will stop functioning and all Maintenance pages will show some garbage characters at the top of their page.

Example: Here, the accented character ó is used:

$terms[] = new Term( 'Brand', ('Publicación') );

This is displayed as a missing character:

Missing character in text

Using non-ASCII characters in the configlang.php file

Step 1. Visit http://www.fileformat.info/info/unicode/char/search.htm.

Step 2. Type the character you want to use.

Example: ó.

Step 3. Click Search.

Step 4. Click on the character that is found.

Example: When searching for ó, U+00F3 is found.

Step 5. Scroll down to the Encodings list and search for UTF-8 (hex).

Step 6. Copy the displayed value.

Example: The UTF-8 (hex) value for 00F3 is 0xC3 0xB3.

Step 7. Paste the numbers to the chr function in the term definition as follows:

$terms[] = new Term( 'Publication','Publicaci'.chr(0xC3).chr(0xB3).'n' );

Step 8. Save the file.

The accented character has now been written as a multi-byte UTF-8 character, but the configlang.php file is still in ASCII format.

Making local changes by changing the names of metadata properties

Terminology can also be changed by modifying the static metadata properties that are stored in the Enterprise database.

Note: This modification will affect all Brands within the Enterprise Server. To set up different Brands using different terminologies, create a separate Enterprise Server installation for each change of terminology.

Step 1. Access the Metadata page.

The Metadata page appears.

The Metadata Maintenance page

Step 2. In the the Static Properties section, click the name of the Static Property that needs to be changed.

The Static Property page appears.

The Static Property page

Step 3. In the Display Name field, enter the name that you want to use.

Step 4. Click Update.

You are returned to the Metadata page.

Step 5. Repeat Steps 2–4 for all Properties that need to be changed.

Making local changes by modifying specific language files

The terminology can also be changed on a per-language basis by modifying each individual language file of Enterprise Server.

The files are stored in the following location:

<Enterprise Server path>/config/resources

Step 1. Make a backup of the current file.

Step 2. Open the file in a text editor that supports UTF-8 encoding.

The top section of the file contains the terminology keys:

<LocalizationMap language="enUS">
  <Term key="ISSUE">Issue</Term>
  <Term key="ISSUES">Issues</Term>
  <Term key="PUBLICATION">Brand</Term>
  <Term key="PUBLICATIONS">Brands</Term>
  <Term key="CHANNEL">Publication Channel</Term>
  <Term key="CHANNELS">Publication Channels</Term>
  <Term key="SECTION">Section</Term>
  <Term key="SECTIONS">Sections</Term>
  <Term key="DESK">Desk</Term>
  <Term key="DESKS">Desks</Term>
  <Term key="EDITION">Edition</Term>
  <Term key="EDITIONS">Editions</Term>
  <Term key="STATE">Status</Term>
  <Term key="STATES">Statuses</Term>
  <Term key="DOSSIER">Dossier</Term>
  <Term key="DOSSIERS">Dossiers</Term>
  <Term key="CATEGORY">Category</Term>
  <Term key="CATEGORIES">Categories</Term>

Step 3. Edit the terminology as required.

Example: Here, the term 'Issue' has been changed to 'Book' in the English language file:

<LocalizationMap language="enUS">

<Term key="ISSUE">Book</Term>

Step 4. Save the file.

Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.