Add unit test for localization consistency #56

Closed
opened 2023-06-20 18:18:39 +02:00 by migration-script · 0 comments

Story

As a developer, I want an automatic check that the localizations for all languages are consistent (i.e. no localization is missing from for one language) such that I do not have to check this manually.

Description

The localization files are simply JSON files containing a flat dictionary with localizationKey: value pairs.
The localization files for all languages should have the same set of keys.
This can be simply checked in a unit test.

Acceptance criteria

  1. Unit test integrated into pipeline that automatically checks whether all language files in src/lang/ have the same set of localization keys.
# Story As a developer, I want an automatic check that the localizations for all languages are consistent (i.e. no localization is missing from for one language) such that I do not have to check this manually. # Description The localization files are simply JSON files containing a flat dictionary with `localizationKey: value` pairs. The localization files for all languages should have the same set of keys. This can be simply checked in a unit test. # Acceptance criteria 1. Unit test integrated into pipeline that automatically checks whether all language files in `src/lang/` have the same set of localization keys.
saluu was assigned by migration-script 2023-06-20 18:18:39 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: dungeonslayers/ds4#56
No description provided.