Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Config Key

Mandatory/ Optional

Type

Purpose

CT_PROPERTY_LABELS

Mandatory

String

This key is used to provide the property file that CT uses to display label texts, list values in drop-down, error messages, and alerts.

CT_LANG_COUNTRY_CODE

Mandatory

String

This key is used to provide the supported locale keys.More than one language_Country codes are added with ',' separator.

DEFUALT_PATH_FOR_BUNDLE

Mandatory

String

This key is used to provide the default temp folder in the server system for the canvas application activity. For example:- , e.g.

  • For windows - /Temp
&
  • For unix/linux - /Temp

CT_LABELS_OVERRIDE_BUNDLE_NAME

OptionalMandatory

String

This key is used to provide the properties file, which overrides the default canvas provided labels.

CT_RBL_SOURCE_CLASSOptionalStringThis key is used to fetch resource bundles configured externally, such as Content Management Systems. The respective class must implement interface 'com.intellectdesign.canvas.resources.IResourceBundleSource'.


The following is a sample multilingual configuration file multilingualconfig.properties (as per the name given in the default descriptor):

Code Block
languagexmlbash
# canvas.properties file will be anthe default oneproperty file. 
other# Other properties willcan be added with ',' separator.
CT_PROPERTY_LABELS = common 

# Supported locals; More than one language_Country codes willcan be added with ',' separator.
CT_LANG_COUNTRY_CODE = en_US,de_DE,ar_SA


# This key will be the default temp folder in the server system for the canvasCanvas application activity.
# exampleExample folder structure:
#   for windows - D:/Canvas/Temp
#   for unix/linux - /usr/SIR0654/Canvas/Temp
# This path configured should be relative to the root path configured
# as CT_WORK_FOLDER_PATH in implementation property file.
DEFUALT_PATH_FOR_BUNDLE = /Temp 

# This key will be used to override the default canvaslabels provided by labelsCanvas.
CT_LABELS_OVERRIDE_BUNDLE_NAME = modelhouse

# This key will be used to fetch resource bundles configured externally, such as Content Management Systems.
# The respective class must implement interface 'com.intellectdesign.canvas.resources.IResourceBundleSource'.
CT_RBL_SOURCE_CLASS = com.intellectdesign.canvas.config.multilingual.resources.CanvasDefaultResourceBundleSource


Refer the following page:

Page Tree
rootConfiguration Descriptor: Multilingual