Skip to content

review both i18n READMEs #14025

@droshev

Description

@droshev

Problem 1:

We currently have two README-s about i18n:

https://github.com/SAP/fundamental-ngx/blob/main/libs/i18n/README.md?plain=1#L201
https://github.com/SAP/fundamental-ngx/blob/main/libs/nx-plugin/src/executors/i18n-manage/README.md

This step in the first readme is misleading:

Step 2: Add to ALL .properties Files

Add to all files in libs/i18n/src/lib/translations/ (use English text everywhere):

TODO: Figure out if we still need both README-s. Make sure the one that stays contains the correct information.

Problem 2:

As part of adding a new translation key with the command nx run i18n:i18n-manage --command=add --key=coreButton.submit --value="Submit" --commentType=XBUT --comment="Submit button" it seems like the FdLanguage interface located in libs/i18n/src/lib/models/fd-language.ts is not updated and needs to be updated manually. The script should update that as well.
Rename and remove scripts should update that interface as well.

Metadata

Metadata

Assignees

Labels

documentationThere is an issue with documentation

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions