clear workflow example
See original GitHub issueI am pretty sure I’m missing something basic here. But I don’t understand how is supposed to work in a full development cycle.
From my understanding:
- Add strings to source code
formatMessage('My Account Preferences')
- Extract the strings to a
json
,yaml
to be passed to translatorsformat-message extract "src/**/*.js" > ./locales/en/messages.json
- Load those strings into your code depending on your locale by
formatMessage.setup(....
Now the problem is, if add a new string, the step2 will overwrite all the strings, how do I just add some? The same for removing? Basically the problem is how to handle the evolution of strings and its translations.
Issue Analytics
- State:
- Created 8 years ago
- Comments:27 (13 by maintainers)
Top Results From Across the Web
Deleting a workflow run - GitHub Docs
To delete a workflow run, use the drop-down menu, and select Delete workflow run. Deleting a workflow run. Review the confirmation prompt and...
Read more >What is a workflow? Definition and examples - Asana
Workflows are a structured series of steps that take you from the beginning to the end of a process. Workflows show stakeholders what...
Read more >How To Delete Workflow Runs - Process Street
Click “Delete” again to finish (or cancel if you've changed your mind). If your workflow run was completed (or archived) you will need...
Read more >How to Delete Approval Workflows - Business Central
Delete a workflow. Choose the Lightbulb that opens the Tell Me feature. icon, enter Workflows, then choose the related link. Select the workflow...
Read more >Basic Concepts | TMS Workflow Studio documentation
Some basic concepts are presented here, for your clear understanding of how Workflow Studio works and its main components.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
How would the following be?
Source code:
strings.json:
Running
format-message extract
would only modify the section matching the-l
locale.Or would you prefer translations to live right next to the original?
strings.json
I’m afraid I haven’t prioritized any work on this since I switched to app development years ago. I’m open to review changes and give permissions to a new maintainer, but I won’t be making changes myself, as I no longer use the library or spend much time in the JavaScript ecosystem.