PHP-strenger for Laravel

Endret i version 4.1.

The Laravel PHP localization files are supported as well with plurals:

Endret i 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',
];
Supported features

File extensions

.php

Linguality

Monolingual

Supports plural

Yes

Supports descriptions

Yes

Supports explanation

No

Supports context

No

Supports location

No

Supports flags

No

API identifier

laravel

Supports read-only strings

No

Check flags added by this format

Laravel format

Weblate-oppsett

Typical Weblate Komponentoppsett

Filmaske

lang/*/texts.php

Ettspråklig basis-språkfil

lang/en/texts.php

Mal for nye oversettelser

lang/en/texts.php

Filformat

Laravel PHP strings