PFW multilingual support

xiaoxiao2021-03-06  98

the way

Replace the display value on the page via the Properties file

Replacement range

l Button in Button Container

l Form, the title of Label, Form in Form, Form

l List, the column name in the list, the title of List

l Tab headline, all Label, button does not belong to Tab, the components in the data tab

L tree display name

in principle

Names that need to be replaced on all page components:

l If it is a component, write the name of this component directly = Chinese name, for example:

DBCONNFORM = Database basic information

l If it is in the component, write component name. Field Name = Chinese name, for example:

dbconnform.dbtype = Database Type

l If you write directly: Field Name = Chinese name, this field name will make globally, for example:

Modify = Modified, then all Modify buttons in the system are displayed as "modified"

l The priority of the overall display in the previous section, below the component name. Field name setting, if you set up modify = modification, dbconnform.modify = update, then the Modify button in the component of DBConnform will display "update ", Other places will display" modification "

Example

LeftPage.Search = Refresh // This page of the Search button

Leftpage.save = Save // ​​Save button for this page

DBCONNFORM = Database Basic Information // Title of a component

DBConnform.dbtype = Database Type // Label in a Form component

Filemgrform = System Path Information

ScheduleList = Timer list

ScheduleList.schdule_name = Timer Name

ScheduleList.package_name = package name

ScheduleList.enabled = Enable flag

ScheduleList.schdule_type = Type

Modify = modification

转载请注明原文地址:https://www.9cbs.com/read-104244.html

New Post(0)