-
Bug
-
Resolution: Fixed
-
None
-
Critical
-
Resolved match analysis / pre-translation crashes for specific language combinations.
-
Emptyshow more show less
problem
If a batchable language resource in a sublanguage (for example en-US) is used by a task with a different sub language (en-GB) then the batch worker crashes.
2025-10-08 10:23:56 ERROR E9999 (# 21304) core → TypeError: editor_ModelInstances::language(): Argument #1 ($id) must be of type int, null given, called in /var/www/translate5/application/modules/editor/Services/Connector/Abstract.php on line 607
reason
Chaotic passing and converting of languages partly outside and partly inside of the language resource connectors.
solution
Clean the language processing up, so that is clearer what is going on regarding (major|sub) language conversion on the context of languageresources and such problems won't occur anymore.
- is duplicated by
-
TRANSLATE-4874 editor_ModelInstances::language(): Argument #1 ($id) must be of type int, null given
- Done