Ticket #2226 (new enhancement)

Opened 3 years ago

Last modified 4 months ago

Abbility of using predefined vars in templates based on language

Reported by: boban Assigned to: anonymous
Priority: normal Milestone: mow requests
Component: Template Engine Version:
Severity: feature Keywords:


Possibility to have predefined vars that can later be used in templates language. E.g. set var in admin interface as $readmore, and translate it to English-Read more, Serbian-Dalje, Macedonian-Citaj etc, so later can be used in templates something like <!** print $readmore> and parser should outputs based on current language translated string, for English - Read more, for Serbian - Dalje etc. That way with creating multilanguage publications, you will ease of writing templates in <!** if language englname English>Read more <!** else> <!** if language englname is Macedonian>Dalje<!** else............

Change History

07/29/06 11:53:58 changed by boban

  • type changed from defect to enhancement.

05/13/09 23:01:46 changed by mugur

  • version deleted.
  • severity changed from minor to feature.