Language Metadata

From Joomla! Documentation

Revision as of 17:45, 30 November 2013 by Tom Hutchison (talk | contribs) (removed Category:Dev cookie jar using HotCat)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

General information about Language Metadata[edit]

Within Joomla the specific language related meta information for articles, modules, menus and any other content is understood as "language metadata". Within Joomla 1.5 it is already possible to tag an article with the specific language it is written in. However there is the limitation that you can only select languages which are installed as front-end language extension.

Joomla language extensions[edit]

The CMS Joomla! supports many different languages in the frontend and backend applications already [1]. The language extensions are in-depended from the language metadata as you might want to provide additional translations of your content without having the requirement to translate your whole site. The result is that you can have two separate lists related your language configuration of your whole system.

Purpose of additional language metadata[edit]

In order to group/select section/category descriptions, module content or menu names based on their language an additional reference to the language is useful. This meta information will the improve the possibilities of extensions to sort out language specific content. E.g. a RSS feed extension can present information for different languages or a content list can present the number of articles in one specific language without complex and time intensive database queries over a 'text' type filed.

Specification & Discussion[edit]

The idea of this change is described and discussed in the following threads:


Mailing list:[edit]

Status variations in the published field[edit]

1 := Published - active on the frontend.
0 := Unpublished - not active on the frontend but able to be set by anyone with edit rights to be able to prepare content for that language.
2 := Archived/Disabled - not shown in any lists, but available to search and link to.
-2 := Trashed

Action items[edit]

  1. we add the language field to all tables (as specified in the White paper, those having an alias so far?)
  2. we improve the language installer to keep this table in synch with the language extensions added
  3. if you remove a front-end language pack - should the language be unpublished (at least as it is not removed)?