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.
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 theFdLanguageinterface located inlibs/i18n/src/lib/models/fd-language.tsis 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.