[Flow] XLIFF file Location
Rocky
rockysynergy at gmail.com
Sun Sep 28 11:31:28 CEST 2014
Hi,
According to the manual (http://docs.typo3.org/flow/TYPO3FlowDocumentation/TheDefinitiveGuide/PartIII/Internationalization.html#file-locations-and-naming). The XLIFF file should located at /Resources/Private/Translations/.
I am trying to put Chinese simplified translation files. According to http://www.ietf.org/rfc/rfc4646.txt. I am using "Language-Script-Region" language tag which is zh-Hans-CN. I put custom zh-Hans-CN validation error messages to /Resources/Private/Translations/zh/hans/cn/ValidationErrors. I use below code in the template file:
{error -> f:translate(id: error.code, arguments: error.arguments, package: 'Package.Key', source: 'ValidationErrors', locale: 'zh-Hans-CN')}
But I got error saying "#1334759591: No XLIFF file is available for Hwwcn.Sponsor::ValidationErrors::zh_Hans_CN in the locale chain."
What I am doing wrong?
More information about the Flow
mailing list