.. include:: /Includes.rst.txt .. _feature-1791893953: ======================================================== Feature: Languages offered only with complete catalogues ======================================================== Description =========== An installation offers a language only while its catalogues hold every key of the English ones in every package. A language with missing keys is not selectable, instead of being offered and silently showing English, and ``checkIntegrityXliff`` fails for it. Every installed language names its writing direction; pages, e-mails and printed reports in a right-to-left language are marked as such. Every page names its language and direction itself, so no page asks the server for them. Impact ====== A further language is a set of catalogues in every package plus its entry in the parameter ``adsum.languages`` (language code and ``ltr`` or ``rtl``) and in ``framework.enabled_locales``; codes with a region or script, such as ``pt_BR``, are possible, and the saved language of a user now holds up to ten characters. The new operation ``listLanguages`` (``GET /api/v1/languages``, every employee) lists the offered languages by their own names with their direction and whether the active company enables them; ``?enabled=true`` lists only those. .. index:: API, Configuration, Database, package:adsum-core, package:adsum-reporting