Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codegen: 7e. Generate translations #101

Open
5 tasks
mat-app opened this issue May 18, 2021 · 0 comments
Open
5 tasks

Codegen: 7e. Generate translations #101

mat-app opened this issue May 18, 2021 · 0 comments
Labels
ready issue was reviewed and is ready for development

Comments

@mat-app
Copy link
Collaborator

mat-app commented May 18, 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

  • 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

@mat-app mat-app added the not ready issue is not ready for development label May 18, 2021
@mat-app mat-app added the question Further information is requested label May 20, 2021
@jozef-slezak jozef-slezak changed the title Codegen: Generate translations Codegen: 7d. Generate translations Jun 8, 2021
@jozef-slezak jozef-slezak changed the title Codegen: 7d. Generate translations Codegen: 7e. Generate translations Jun 8, 2021
@mat-app 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready issue was reviewed and is ready for development
Projects
None yet
Development

No branches or pull requests

1 participant