Opened 14 years ago

Closed 13 years ago

#68 closed enhancement (fixed)

Suggestion: Language Translation.

Reported by: tgudmu Owned by: madair
Priority: P1 Milestone: 2.0
Component: Core Version: 1.0.6
Severity: Minor Keywords: language, fusion, translation
Cc: Browser: All
External ID: Operating System: All
state: Analysis Requested

Description

For labels in the ApplicationDefinition it could contain an ID of a label instead of the label itself. Then, when parsed a lookup can be made in a locale file to get the correct translation of a label. This will avoid hard-coded values in the ApplicationDefinition.

Change History (2)

comment:1 by pagameba, 14 years ago

Milestone: 1.12.0
Priority: P2P1
state: NewAnalysis Requested

Good idea. The OpenLayers.i18n function can be used for this and we don't even have to change much - if you pass a string in that doesn't have a translation, it should return the string itself. This means a bit of overhead for ApplicationDefinition files that aren't using this but it would make it much easier for translating applications.

comment:2 by madair, 13 years ago

Resolution: fixed
Status: newclosed

(In [1759]) closes #68: allow I18n dictionary keys to be used in the AppDef files; change StatusItem to StatusText;

Note: See TracTickets for help on using tickets.