This project is no longer maintained and no further public releases are planned.

No further support will be given.

Feel free to fork the git repository.

###LLL:[langkey]###

Marker for translated texts. [langkey] is a key in your translation file.

Version added

1.0.0

If you want to display translated texts in your form, create a translation file (or more) and tell Formhandler where to find it.

Your translation file may look like this:

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3locallang>
  <meta type="array">
    <description>Language labels for my form</description>
  </meta>
  <data type="array">
    <languageKey index="default" type="array">
      <label index="username">Username:</label>
      <label index="password">Password:</label>
      <label index="submit">Login</label>
    </languageKey>
    <languageKey index="de" type="array">
      <label index="username">Benutzername:</label>
      <label index="password">Passwort:</label>
      <label index="submit">Anmelden</label>
    </languageKey>
  </data>
</T3locallang>

Now you can use markers like ###LLL:username### anywhere in your form template. Formhandler will search for the key username in the language file(s) and replace the marker with the translated text.