- 🚀 Getting Started
- Introduction
- Quick Start Guide
- Translator
- Glossary
- Variables
- 💻 Project integration (CLI)
- Project structures
- Translate
- 📄 Formats
- JSON
- Java-Properties
- PHP-Array
- PO
- YAML
- 📚 Resources
- API Reference
- CLI Overview
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.