Laravel PHP 文字列¶
バージョン 4.1 で変更.
Laravel PHP の現地語化ファイルは、複数形にも対応しています。記述例:
バージョン 5.15 で変更: 翻訳キーには PHP の構造が含まれなくなり、実際のキーのみが含まれるようになりました。
<?php
return [
'welcome' => 'Welcome to our application',
'apples' => 'There is one apple|There are many apples',
];
File extensions |
|
|---|---|
Linguality ⓘ |
Monolingual |
Supports plural ⓘ |
|
Supports descriptions ⓘ |
|
Supports explanation ⓘ |
|
Supports context ⓘ |
|
Supports location ⓘ |
|
Supports flags ⓘ |
|
API identifier |
|
Supports read-only strings ⓘ |
|
Check flags added by this format ⓘ |
Weblate の設定¶
典型的な Weblate コンポーネント構成 |
|
|---|---|
ファイル マスク |
|
モノリンガル用の、基礎となる言語ファイル |
|
新しい翻訳のテンプレート |
|
ファイル形式 |
Laravel PHP 文字列 |