That did the trick! Thank you very much. I didn’t think that section of the manual was relevant to my case, I’ll push my translations to there as well.
Btw, the command failed at first with
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:996: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:1138: unknown named placeholder 'n'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:1855: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:2879: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:2885: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:3823: unknown named placeholder 'tpls_count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:5588: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:6727: unknown named placeholder 'missing_groups'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:6733: unknown named placeholder 'missing_groups'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:6931: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:9506: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:10968: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:12165: unknown named placeholder 'num'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:12624: unknown named placeholder 'total'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:13472: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:14090: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:14378: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:14634: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:15374: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:15693: unknown named placeholder 'count'
error: indico/translations/zh_Hans_CN/LC_MESSAGES/messages.po:17003: unknown named placeholder 'count'
I just deleted the translation, since I don’t need it.
Also, my react translation compilation failed. First, because I didn’t have npm installed, second for some reason I don’t clearly understand. This is not super important to me at the moment, but FYI the error message is attached.
[..................] \ idealTree:bb26327961e0b32d: sill idealTree buildDeps
[..................] / idealTree:prop-types: sill fetch manifest loose-envify@^1.1.0
Traceback (most recent call last):
File "/opt/indico/.venv/bin/indico", line 8, in <module>
sys.exit(cli())
File "/opt/indico/.venv/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/opt/indico/.venv/lib/python3.9/site-packages/flask/cli.py", line 567, in main
return super().main(*args, **kwargs)
File "/opt/indico/.venv/lib/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/opt/indico/.venv/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/indico/.venv/lib/python3.9/site-packages/indico/cli/util.py", line 108, in invoke
return self._impl.invoke(ctx)
File "/opt/indico/.venv/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/indico/.venv/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/indico/.venv/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/opt/indico/.venv/lib/python3.9/site-packages/indico/cli/i18n.py", line 158, in compile_catalog_react
json.loads(output) # just to be sure the JSON is valid
File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)