Simplify translation handling

Created on 3 September 2021, over 3 years ago
Updated 10 February 2023, almost 2 years ago

Problem/Motivation

The module only provides German and English strings for some keys, and then falls back on the multiple languages provided by the klaro library.

Steps to reproduce

Try to translate to any language other than the two supplied or switch to German, it has all the keys missing too. Or use the no-translation version of the klaro.js.

Proposed resolution

Provide a way to specify which languages will have translations available. For these, initialize the translations from the current translations if available (see https://github.com/kiprotect/klaro/tree/master/src/translations), and allow the site builder to define their own translations (i.e. Icelandic).

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇮🇸Iceland drupalviking

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024