Laravel PHP strings¶
Changed in version 4.1.
The Laravel PHP localization files are supported as well with plurals:
Changed in version 5.15: The translation keys no longer include PHP structure and only contain the actual key.
<?php
return [
'welcome' => 'Welcome to our application',
'apples' => 'There is one apple|There are many apples',
];
See also
File extensions |
|
|---|---|
Linguality ⓘ |
Monolingual |
Supports plural ⓘ |
|
Supports descriptions ⓘ |
|
Supports explanation ⓘ |
|
Supports context ⓘ |
|
Supports location ⓘ |
|
Supports flags ⓘ |
|
API identifier |
|
Supports read-only strings ⓘ |
|
Weblate configuration¶
Typical Weblate Component configuration |
|
|---|---|
File mask |
|
Monolingual base language file |
|
Template for new translations |
|
File format |
Laravel PHP strings |