Merged in feat/syncDefaultMessage (pull request #3022)
Sync defaultMessage from lokalise * Enhance translation sync functionality and tests - Added logging for found component files during sync. - Introduced tests for handling complex components with replacements. - Updated regex in syncIntlFormatMessage to support optional second arguments. - Removed unused test files. * feat(syncDefaultMessage): add script for syncing default message with lokalise * feat(syncDefaultMessage): add script for syncing default message with lokalise Approved-by: Matilda Landström
This commit is contained in:
@@ -16,10 +16,10 @@ https://scandichotelsab.sharepoint.com/:x:/s/921-ContentNewweb/ETGStOQAARtJhJXG9
|
||||
- Open it
|
||||
- Each domain/language has its own sheet
|
||||
- Export each sheet into their respective language code
|
||||
- File > Export > Download as CSV UTF-8
|
||||
- Save as [lang].csv in `./scripts/data/csv` folder
|
||||
- File > Export > Download as CSV UTF-8
|
||||
- Save as [lang].csv in `./scripts/data/csv` folder
|
||||
- Run the `generate` script target
|
||||
- E.g. `yarn workspace @scandic-hotels/scandic-redirect generate`
|
||||
- E.g. `yarn workspace @scandic-hotels/scandic-redirect generate`
|
||||
- Commit and push the JSON files in `./netlify/functions/data`.
|
||||
- Create a PR
|
||||
- Profit!
|
||||
|
||||
Reference in New Issue
Block a user