Localization 扩展ist中的Type3 xliff本地化未按预期工作
我目前正在尝试本地化一些Webforms。使用TYPO3 v8 forms\u formframework制作 前端始终显示翻译后的标签,忽略选定的语言 locallang.xlfLocalization 扩展ist中的Type3 xliff本地化未按预期工作,localization,typo3,typo3-8.x,typo3-extensions,xliff,Localization,Typo3,Typo3 8.x,Typo3 Extensions,Xliff,我目前正在尝试本地化一些Webforms。使用TYPO3 v8 forms\u formframework制作 前端始终显示翻译后的标签,忽略选定的语言 locallang.xlf <?xml version="1.0" encoding="UTF-8"?> <xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff"> <file source-language="en" datatype="
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
<file source-language="en" datatype="plaintext" original="messages" product-name="dm_layout">
<header/>
<body>
<trans-unit id="kontaktformular.element.text-1.properties.placeholder" xml:space="preserve">
<source>Original</source>
</trans-unit>
</body>
</file>
</xliff>
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
<file source-language="en" target-language="de" datatype="plaintext" original="messages" product-name="dm_layout">
<header/>
<body>
<trans-unit id="kontaktformular.element.text-1.properties.placeholder" xml:space="preserve">
<target>Kontakt DE</target>
</trans-unit>
</body>
</file>
</xliff>
英文页面应显示:原件
德语页面应显示:Kontakt DE
但两人都在“Kontakt DE”
我所做的与de.localland.xlf中的几乎相同,请尝试:
<trans-unit id="kontaktformular.element.text-1.properties.placeholder">
<source> Original </source>
<target>Kontakt DE</target>
</trans-unit>
由于一些未知的原因,结果仍然是一样的。尽管源代码对于TYPO3本身的翻译不是必需的,但它仍然是人类翻译人员的一个方便功能,翻译人员可以将源代码与所需的目标代码一起使用,因此他们在更正翻译时确实知道应该翻译的内容。
<trans-unit id="kontaktformular.element.text-1.properties.placeholder">
<source> Original </source>
<target>Kontakt DE</target>
</trans-unit>