Skip to content

Conversation

@haraldschilly
Copy link
Contributor

@haraldschilly haraldschilly commented Nov 25, 2025

follow up of #8654


@novoselt this looks like that:

  1. delete step, kind of dangerous, because of race conditions with other open PRs! So, there is a bulk delete command, but it would remove translations I already created in one of my other branches. Hence I'm only deleting one key, the one you removed.
$ pnpm i18n:delete labels.masked_files

> @cocalc/frontend@1.102.7 i18n:delete /home/hsy/p/cocalc/src/packages/frontend
> bash ./i18n/bin/delete.sh labels.masked_files

Deleting translation keys from SimpleLocalize...
{"msg":"OK","status":200}

[...]
hsy@x2:~/p/cocalc/src/packages/frontend$ pnpm i18n:update

[...]

Loading configuration file from: simplelocalize.yml
Configuration file not found.
File format: simplelocalize-json
Upload options: [REPLACE_TRANSLATION_IF_FOUND]
Found 1 files matching upload path './i18n/extracted.json'
Uploading file, language=[en] namespace=[null] = ./i18n/extracted.json
Uploaded 1 file(s) to SimpleLocalize
Started automatic translation for that many languages:
19
Waiting for auto-translation jobs to complete...
  11 job(s) still running: ru ar ko ja hi zh he tr pl hu pt-br 
  10 job(s) still running: ru ar ko ja hi zh he tr pl hu 
  8 job(s) still running: ru ar ko ja hi zh he tr 
  7 job(s) still running: ru ar ko ja hi zh he 
  5 job(s) still running: ru ar ko ja hi 
  4 job(s) still running: ru ar ko ja 
  2 job(s) still running: ru ar 
✓ All auto-translation jobs completed!

[...]

Parallel is installed. Running download in parallel.
calling download 'de_DE'
[...]
download completed in 4 seconds.

Parallel is installed. Running compile in parallel.
[...]
compile completed in 3 seconds.

@novoselt
Copy link
Collaborator

Got it, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants