简体   繁体   English

TYPO3 v10 - 自定义文本“忘记密码?” 后台登录

[英]TYPO3 v10 - Custom text "Forgot your password?" Backend Login

TYPO3 v10.4.15 TYPO3 v10.4.15

I have a custom file translate (xlf), and I'm trying to translate the BE login, a example is the next:我有一个自定义文件翻译 (xlf),我正在尝试翻译 BE 登录,下一个示例是:

<trans-unit id="login.submit" resname="login.submit" approved="yes">
 <source>Login</source>
 <target state="final">Iniciar sesión</target>
</trans-unit>
    
<trans-unit id="forgot_password" resname="forgot_password" approved="yes">
 <source>Forgot your password?</source>
 <target>¿Olvidaste tu contraseña?</target>
</trans-unit>

The first is correct, but the second not work, someone know the id for label "Forgot your password?"第一个是正确的,但第二个不起作用,有人知道 label 的 id “忘记密码?” or if is another cause.或者如果是另一个原因。

The id for the label you're looking for is login.password_forget .您要查找的 label 的 ID 是login.password_forget

All labels for backend localization are located in typo3/sysext/backend/Resources/Private/Language/locallang.xlf .后端本地化的所有标签都位于typo3/sysext/backend/Resources/Private/Language/locallang.xlf中。

Apparently you're trying to translate the TYPO3 backend to Spanish.显然您正在尝试将 TYPO3 后端翻译成西班牙语。 It would be wonderful if you could contribute your translation to the official TYPO3 translation project.如果您能将您的翻译贡献给官方 TYPO3 翻译项目,那就太好了。 We're using Crowdin to manage all translations.我们使用 Crowdin 来管理所有翻译。

In the official documentation you can read more how translation works.在官方文档中,您可以阅读更多翻译工作原理。 If you need support to get started, please join the TYPO3 Slack channel #typo3-translations .如果您需要支持才能开始使用,请加入TYPO3 Slack 频道#typo3-translations If you don't have a Slack account yet, you can get one via my.typo3.org .如果您还没有 Slack 帐户,可以通过my.typo3.org获得一个。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM