Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-4476

wrong fallback-order for selection of language-resources

    • Icon: Task Task
    • Resolution: Unresolved
    • None
    • None
    • LanguageResources

      Problem

      Sample:
      Task with source-lang: de-DE
      and target-languge: sr-Cyrl-RS

      Language Resource (e.g.) Microsoft:

      • MI_de_sr
      • MI_de_sr-Cyrl

      a language-resource for sr-Cyrl-RS can not be defined for Microsoft, because its not supported.

      If I want to pretranslate the above task with the defined language-resource I wqould expect, that:
      MI_de_sr-Cyrl would by the first choice and MI_de_sr the second one.
      But:
      MI_de_sr-Cyrl is not detected as valid resource.

      Can also be reproduced with the "Dummy Pseudo Translator". See Screenshots
      defined Languageresources:

      automatic assigned to task:

      Solution

      The problem seems to be the 3-parts language. Fallback should be
      sr-Cyrl-RS
      sr-Cyrl
      sr

      but it looks like when for the first level "sr-Cyrl-RS" (the "complete name") no match can be found, if falls back directly to the fallback of the "generic" language "sr"
      So there should not only be one fallback, but a fallback-chain as described above.

      This error is the problem there:
      https://jira.translate5.net/browse/TS-4317

      and maybe there??
      https://jira.translate5.net/browse/TS-4207

            aleksandar Aleksandar Mitrev
            Stephan Stephan Bergmann
            Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: