PHP-Array Format

Format

Simpleen supports the PHP format.

// Associative Arrays
[
    "key" => "string to translate",
    "key2" => "more to translate"
]

// Array
array(
    "key"  => "string to translate",
    "key2" => "more to translate"
)

By default all strings are getting translated.

The following data types are not getting translated. They are getting returned in the result unaltered:

  • numbers (1.5, 10)
  • null
  • boolean (false, true)

The result is provided as an associative array.