Project

General

Profile

Actions

Bug #101923

closed

Chinese (zh) language packs corrupted and zh_CN downloads got 404 errors

Added by Kochin Chang about 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Language Manager (backend)
Target version:
-
Start date:
2023-09-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

After I installed Chinese (zh) language packs, switching the backend language to zh has no effect. I opened some language files in var/labels/zh and found there are no <trans-unit> tags at all inside. Here is one of the files, zh/webhooks/Resources/Private/Language/zh.locallang_db.xlf:

<?xml version="1.0" encoding="UTF-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
  <file source-language="en" datatype="plaintext" original="EXT:webhooks/Resources/Private/Language/locallang_db.xlf" date="2023-01-11T20:22:32Z" product-name="webhooks" target-language="zh">
    <header/>
    <body>

        </body>
  </file>
</xliff>


I also was unable to download zh_CN language packs. The TYPO3 log shows 404 errors when downloading those packs.
Thu, 14 Sep 2023 10:16:18 -0400 [WARNING] request="2de33741897ac" component="TYPO3.CMS.Install.Service.LanguagePackService": Requesting https://localize.typo3.org/xliff/w/e/webhooks-l10n/webhooks-l10n-zh_CN.v12.zip was not successful, got status code 404 (Not Found) - {"request":"https://localize.typo3.org/xliff/w/e/webhooks-l10n/webhooks-l10n-zh_CN.v12.zip","status":404,"reason":"Not Found"}

Actions #1

Updated by Kochin Chang about 1 year ago

By the way, installed Japanese (ja) pack and was able to switch the backend language to Japanese.

Actions #2

Updated by Peter Kraume 10 months ago

Unfortunately the translation status for Chinese Simplified (zh-CN) is currently very poor.
For the v12 branch only 12% of the labels are translated and 0% are approved. Only approved labels are exported to the xlf files.

You can see the translation status here:
https://crowdin.com/project/typo3-cms/zh-CN

The TYPO3 Translation Team will happily support you (and others) with the translation to Chinese.
For starters, please check this documentation:
https://docs.typo3.org/m/typo3/reference-coreapi/12.4/en-us/ApiOverview/Localization/TranslationServer/Crowdin.html

If you have any questions regarding translations, please join our TYPO3 Slack channel #typo3-localization-team (https://typo3.slack.com/archives/CR75200FL) or contact us via Crowdin or email ().

Actions #3

Updated by Georg Ringer 5 months ago

  • Status changed from New to Resolved

sorry for taking me so long, there was a bug during exporting the files for zh_CN this is fixed now

Actions #4

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF