Adding language files to your FLEXIcontent template

  • Published by
    George Papadakis
  • Last modified
    28 October 2013
  • Up to date
    Yes
  • Concerns
    Component Language Template
  • Since Version
    1.5.6
  • Voting
    Average rating
    1 vote
    • 1
    • 2
    • 3
    • 4
    • 5
  • Favourites
    276 Adding language files to your FLEXIcontent template /documentation/tutorials-english/74-languages1/276-adding-language-files-to-your-flexicontent-template.html
  • Tags
    language, categories, items, templates

FLEXIcontent templates support loading language file to add new language strings or override existing ones (since last string to load take precedence)

e.g. if your template is myblog (placed inside components/com_flexicontent/templates)

blog/language/en-GB/en-GB.ini
blog/language/fr-FR/fr-FR.ini
blog/language/de-DE/de-DE.ini
blog/language/ru-RU/ru-RU.ini

NOTE:
these language files are load in the following views:
- frontend item view
- frontend category view
- backend template view (for use in template edit form)

NOTE:
- some parameter of templates are "Language Filtered"
e.g. if you have tab labels in your template 's TAB Positions : TAB01, TAB02, TAB_GAL, TAB04, then add something like this in your language files:

TAB01="Basic Info"
TAB02="Details"
TAB_GAL="Gallery"
TAB04="Contact Info"