2017 © Pedro Peláez
 

typo3-cms-extension translationapi

API to fetch translation units.

image

sinso/translationapi

API to fetch translation units.

  • Wednesday, February 7, 2018
  • by sinso
  • Repository
  • 5 Watchers
  • 0 Stars
  • 2,705 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 9 Versions
  • 15 % Grown

The README.md

Translation API

This extension lets you fetch localized labels from TYPO3. It will automatically export labels as JSON from any locallang.xlf file, given its extension key., (*1)

How-To Use within Fluid

This extension is able to export the labels as JSON to be embedded into a HTML snippet:, (*2)



...

Options

  • ?omitPrefix=yes (default "no") will strip the prefix from the key. E.g. with "module" as prefix,, (*3)

    key "module.foo.bar" will be returned as "foo.bar", (*4)

  • ?expand=yes (default "no") will "expand" the keys as subarrays:, (*5)

    {
      "module.foo.bar.key1": "value1",
      "module.foo.bar.key2": "value2",
    }
    

    becomes, (*6)

    {
      "module": {
          "foo": {
              "bar": {
                  "key1": "value1",
                  "key2": "value2"
              }
          }
      }
    }
    

The Versions

07/02 2018

dev-master

9999999-dev

API to fetch translation units.

  Sources   Download

GPL-2.0+

The Requires

  • typo3-ter/routing >= 0.4.0

 

07/02 2018

2.0.1

2.0.1.0

API to fetch translation units.

  Sources   Download

GPL-2.0+

The Requires

  • typo3-ter/routing >= 0.4.0

 

24/08 2017

dev-without-routing

dev-without-routing

API to fetch translation units.

  Sources   Download

GPL-2.0+

19/06 2017

2.0.0

2.0.0.0

API to fetch translation units.

  Sources   Download

GPL-2.0+

The Requires

  • typo3-ter/routing >= 0.4.0

 

11/10 2016

1.2.0

1.2.0.0

API to fetch translation units.

  Sources   Download

GPL-2.0+

The Requires

  • typo3-ter/routing >= 0.4.0

 

06/10 2016

1.1.0

1.1.0.0

API to fetch translation units.

  Sources   Download

GPL-2.0+

The Requires

  • typo3-ter/routing >= 0.4.0

 

22/09 2016

1.0.0

1.0.0.0

API to fetch translation units.

  Sources   Download

GPL-2.0+

The Requires

  • typo3-ter/routing >= 0.4.0

 

22/09 2016

dev-version-update-0.0.2

dev-version-update-0.0.2

API to fetch translation units.

  Sources   Download

GPL-2.0+

The Requires

  • typo3-ter/routing >= 0.3.0

 

20/09 2016

0.0.1

0.0.1.0

API to fetch translation units.

  Sources   Download

GPL-2.0+

The Requires

  • typo3-ter/routing >= 0.0.1