Vargje PHP Lavarel

Ndryshuar në versionin 4.1.

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

Ndryshuar në versionin 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

Supports removing obsolete strings ⓘ

No

Check flags added by this format ⓘ

Format Lavarel

Formësim Weblate-i

Typical Weblate Component configuration

Maskë kartele

lang/*/texts.php

Kartelë njëgjuhëshe gjuhe bazë

lang/en/texts.php

Gjedhe për përkthime të reja

lang/en/texts.php

Format kartelash

Laravel PHP strings