Rogarema
Admin Dashboard

737

Variables

7

Languages

5134

Translations

0

Users

Missing Translations: Please check the section variables, and add the neccesary translations.
Introduction

This site is meant to facilitate the translations for the Rogarema website.

The top level is the language and ISO2 country code. For example: en_DE

The binding agent is called a variable.

URL: http://www.rogarema.com/

Country: Germany

If we pass the language key: en_DE

The following PHP: <?php rogarema_bind_text("en_DE"); ?> will result in array:

Array
(
    [0] => Array
        (
            [idLanguage] => 2
            [language] => en_DE
            [country] => Germany
            [idTranslation] => 450
            [idVariable] => 185
            [translation] => Industries
            [variable] => tx_uedit_branchen
        )

)


If we need to display the text from the variable: tx_keineangabe

A filter function: <?php array_search_key($array, 'variable', 'tx_uedit_branchen'); ?>

Array
(
    [0] => Array
        (
            [idLanguage] => 2
            [language] => en_DE
            [country] => Germany
            [idTranslation] => 450
            [idVariable] => 185
            [translation] => Industries
            [variable] => tx_uedit_branchen
        )

)


Variable tx_uedit_branchen = Industries

Tip: A way to check that all translations are complete - multiply "Variables" x "Languages" = "Translations" 737 x 7 = 5134