You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal of this issue is to be able to generate json definition of localization messages. We need to be able to generate localization message's definition json from scratch and also to add new message to existing json definition.
Proposal solution
for now we will focus only on existing material-ui-example project to fullfill goal of generate module bottom up
harcode path to i18n definition json file on api level
for facade function lets have input definitionSource which will contains source code of i18n definition file
when adding new localization message we have to check such a message does not exist already
Acceptance criteria
GIVE i'm going to add new column to the table and definition json was not found
WHEN new column is added
THEN new json with column header definition is created
GIVE i'm going to add new column to the table and definition json exists
WHEN new column is added
THEN definition json file will contains localization message for column header
GIVE i'm going to add new input to the detail and definition json was not found
WHEN new input is added
THEN new json with input's label definition is created
GIVE i'm going to add new input to the detail and definition json exists
WHEN new input is added
THEN definition json file will contains localization message for label of the added input
GIVE json file contains definition for customer.name
WHEN i tried to add new definition for customer.name
THEN definition json is not changed
The text was updated successfully, but these errors were encountered:
jozef-slezak
changed the title
Codegen: Generate translations
Codegen: 7d. Generate translations
Jun 8, 2021
jozef-slezak
changed the title
Codegen: 7d. Generate translations
Codegen: 7e. Generate translations
Jun 8, 2021
mat-app
added
ready
issue was reviewed and is ready for development
and removed
not ready
issue is not ready for development
question
Further information is requested
labels
Jul 6, 2021
cunderlikp
pushed a commit
to mat-app/lowcode
that referenced
this issue
Jul 7, 2021
Description
Goal of this issue is to be able to generate json definition of localization messages. We need to be able to generate localization message's definition json from scratch and also to add new message to existing json definition.
Proposal solution
definitionSource
which will contains source code of i18n definition fileAcceptance criteria
GIVE i'm going to add new column to the table and definition json was not found
WHEN new column is added
THEN new json with column header definition is created
GIVE i'm going to add new column to the table and definition json exists
WHEN new column is added
THEN definition json file will contains localization message for column header
GIVE i'm going to add new input to the detail and definition json was not found
WHEN new input is added
THEN new json with input's label definition is created
GIVE i'm going to add new input to the detail and definition json exists
WHEN new input is added
THEN definition json file will contains localization message for label of the added input
GIVE json file contains definition for customer.name
WHEN i tried to add new definition for customer.name
THEN definition json is not changed
The text was updated successfully, but these errors were encountered: