r3h6/form-translator

Provides a backend module and cli for translating forms.

Installs: 7 823

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 1

Forks: 4

Open Issues: 5

Type:typo3-cms-extension

2.0.3 2024-07-19 18:34 UTC

This package is auto-updated.

Last update: 2024-07-19 18:35:43 UTC


README

Latest Stable Version TYPO3 12 TYPO3 11 Total Downloads Monthly Downloads

form_translator

This extension provides a backend module for translating TYPO3 form framework forms and a cli for creating a source xliff file for a given form.

Installation

Either from TYPO3 TER or through composer $ composer req r3h6/form-translator.

Integration

If you like use machine translation by LibreTranslate you must only configure an api host in the extension configuration. See available mirrors.

How it works

The extensions adds a translation file path to the *.form.yaml file when localize through the backend module.

# example.form.yaml
renderingOptions:
  translation:
    translationFiles:
      99: fileadmin/form_definitions/l10n/example.xlf

Known issues

  1. Localization of error messages is not possible

Develpment/Contribution

Pull request are welcome!

Please note: I will not include other translation api's than LibreTranslate in this extension. If you need an other service, you can create your own by implementing TranslationServiceInterface.