Ciągi 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:
Monolingual PHP strings in various syntax
Przykładowy plik:
<?php
$LANG['foo'] = 'bar';
$LANG['foo1'] = 'foo bar';
$LANG['foo2'] = 'foo bar baz';
$LANG['foo3'] = 'foo bar baz bag';
File extensions |
|
|---|---|
Linguality ⓘ |
Monolingual |
Supports plural ⓘ |
|
Supports descriptions ⓘ |
|
Supports explanation ⓘ |
|
Supports context ⓘ |
|
Supports location ⓘ |
|
Supports flags ⓘ |
|
API identifier |
|
Supports read-only strings ⓘ |
|
Konfiguracja Weblate¶
Typowy Weblate Konfiguracja komponentu |
|
|---|---|
Maska pliku |
|
Jednojęzyczny bazowy plik języka |
|
Szablon dla nowych tłumaczeń |
|
Format pliku |
Ciągi PHP |