Vargje PHP

PHP translations are usually monolingual, so it is recommended to specify a base file with (what is most often the) English strings.

Weblate currently supports several variants of PHP translations:

Shembull kartele:

<?php
$LANG['foo'] = 'bar';
$LANG['foo1'] = 'foo bar';
$LANG['foo2'] = 'foo bar baz';
$LANG['foo3'] = 'foo bar baz bag';

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

PHP strings