b13/l10n-translator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

b13/l10n-translator

最新稳定版本:5.1.1

Composer 安装命令:

composer require b13/l10n-translator

包简介

Translate l10n files (label files) in a TYPO3 backend module. Maintain l10n folder with CLI tasks.

README 文档

README

Extension for managing the files located in the var/labels folder of a TYPO3 installation. It provides several CLI commands for file and label handling as well as a backend module to translate any label.

Configuration

Add all paths to XLF files you want to handle with this extension (e.g. news/Resources/Private/Languages/locallang.xlf) alongside all languages you want to support in the extension manager configuration.

Features

  • Create missing files in the var/labels folder (CLI)
  • Create missing labels in files in the var/labels folder (CLI)
  • Remove obsolete labels in the var/labels folder (CLI)
  • Proof integrity of language files in the var/labels folder (CLI)
  • Edit existing labels in a custom backend module (BE)

CLI Examples

Execute all CLI commands

With typo3-console via the prefix ./vendor/bin/typo3cms l10nTranslator:create:missingFiles all

Create all missing files in var/labels/de. This will create copies of all configured files that are not there yet. l10nTranslator:create:missingFiles de

Create all missing labels in var/labels/es in all configured files. l10nTranslator:create:missingLabels es --file=powermail/Resources/Private/Language/locallang.xlf

Create all missing labels for powermail in spanish and fills the source language with german labels. l10nTranslator:create:missingLabels es --file=powermail/Resources/Private/Language/locallang.xlf --sourceLanguage=de

Create all missing files for all configured languages l10nTranslator:create:missingFiles all

Create all missing labels for all configured languages l10nTranslator:create:missingLabels all

Create all missing files for all existing sys_languages l10nTranslator:create:missingFiles system

Create all missing labels for all existing sys_languages l10nTranslator:create:missingLabels system

Remove all obsolete labels from locallang files in var/labels. Obsolete are labels that have been removed in the original file. l10nTranslator:remove:obsoleteLabels

统计信息

  • 总下载量: 7.49k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2021-01-28