Handle catalan and languages with language code mismatch

Created on 6 August 2025, 9 days ago

Problem/Motivation

In a website using the Catalan language, localised date strings are not loaded because flatpickr uses 'cat' for the language code while Drupal uses 'ca'.

Proposed resolution

Implement a mapping between drupal language codes and flatpickr language codes.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇪🇸Spain Peacog

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024