|
1 | 1 | {
|
2 | 2 | "common.or": "や",
|
3 |
| - "common.and": "and", |
| 3 | + "common.and": "と", |
4 | 4 | "main.title": "Svelte Intl Precompile",
|
5 |
| - "main.subtitle": "The i18n library for Svelte that analyzes and compiles your translations at build time", |
| 5 | + "main.subtitle": "ビルド時に翻訳文を解析してコンパイルする Svelte 向けの i18n ライブラリ", |
6 | 6 | "playground.title": "Playground",
|
7 |
| - |
8 |
| - "introduction.title": "Introduction", |
9 |
| - "introduction.subsection.why-use-it": "Why you'd want to use it?", |
10 |
| - "introduction.paragraph.why-use-it-1": "Svelte-intl-precompile is an i18n library for Svelte apps that aims to provide all the features your app may need with the smallest possible penalty in both app size and runtime performance.", |
11 |
| - "introduction.paragraph.why-use-it-2": "To accomplish that it takes a different approach to most internalization libraries. Much like Svelte.js analyzes and understands your code and at build time compiles it to minimal and efficient javascript, this library inspects your translations defined in the <a href='https://lokalise.com/blog/complete-guide-to-icu-message-format' class='text-primary underline'>ICU message syntax</a> and compiles them to small and efficient inline functions.", |
12 |
| - "introduction.paragraph.why-use-it-3": "If you use each and every feature supported by the ICU message syntax it will add around 2kb to your bundle after minification and compression. If you only use a few, it can go as low as 1kb.", |
13 |
| - "introduction.paragraph.why-use-it-4": "Since it doesn't have to parse and tokenize your translations in the browser, it is also faster. Around 4 times faster rendering a translation for the first time, and around 50% faster for already known translations.", |
14 |
| - "introduction.subsection.playground": "What? Show me the code", |
15 |
| - "introduction.paragraph.playground-preface": "There, play with it. Paste your own translations and see the transformed output.", |
16 |
| - "introduction.subsection.features": "What features does it have?", |
17 |
| - "introduction.paragraph.features-1": "All the features supported by the ICU message syntax are supported.<br>It has an API almost completely compatible with", |
18 |
| - "introduction.paragraph.features-2": ", another very popular and well designed internationalization library for Svelte.js ", |
19 |
| - "introduction.paragraph.features-3": "Its main features include:", |
20 |
| - "introduction.list-items.features-1": "Translations with interpolation, selected sub-translations and all ICU features.", |
21 |
| - "introduction.list-items.features-2": "Formatters for dates, tims, numbers, ordinals y currencies all leveraging the native Intl API available in modern browsers and node.", |
22 |
| - "introduction.list-items.features-3": "A svelte-oriented API providing convenient to use stores that update automatically when locale or translations change.", |
23 |
| - "introduction.list-items.features-4": "A range functions to load locales asynchronously when needed or to extract the default locale from the request headers in SSR mode.", |
24 |
| - "introduction.list-items.features-5": "Full tree-shaking of all the above features that your app doesn't use.", |
| 7 | + |
| 8 | + "introduction.title": "イントロダクション", |
| 9 | + "introduction.subsection.why-use-it": "なぜ使用したいのですか?", |
| 10 | + "introduction.paragraph.why-use-it-1": "Svelte-intl-precompile は Svelte アプリのための i18n ライブラリで、アプリが必要とする機能を、アプリのサイズと実行パフォーマンスのどちらに対しても最低限のコストで提供することを目的しています。", |
| 11 | + "introduction.paragraph.why-use-it-2": "これを実現するのに、他の多くの国際化ライブラリとは異なるアプローチをとっています。Svelte.js がコードを解析・解釈してビルド時に最小かつ効率的な javascript にコンパイルするのと同じように、このライブラリは <a href='https://lokalise.com/blog/complete-guide-to-icu-message-format' class='text-primary underline'>ICU メッセージ構文</a> で定義された翻訳文を検査し、小さくて効率的なインライン関数にコンパイルします。", |
| 12 | + "introduction.paragraph.why-use-it-3": "ICU メッセージ構文でサポートされている全ての機能を使用した場合、minify と 圧縮を行ったあとで約2kbとなります。もしいくつかの機能しか使わないのであれば、1kb程度まで小さくすることができます。", |
| 13 | + "introduction.paragraph.why-use-it-4": "また、翻訳文をブラウザ上でパースしたりトーカナイズしたりする必要がないため、高速です。翻訳文のレンダリングは、初回の場合は約4倍高速で、2回目以降は約50%高速です。", |
| 14 | + "introduction.subsection.playground": "なんだって?コードを見せてください", |
| 15 | + "introduction.paragraph.playground-preface": "こちらです、試してみてください。ご自身で翻訳文を貼り付けて、変換された出力を見てみましょう。", |
| 16 | + "introduction.subsection.features": "どんな機能がありますか?", |
| 17 | + "introduction.paragraph.features-1": "ICU メッセージ構文でサポートされているすべての機能をサポートしています。<br>Svelte.js 向けの国際化ライブラリで、非常にポピュラーでとても上手く設計されている", |
| 18 | + "introduction.paragraph.features-2": "とほぼ完全に互換性のある API があります。", |
| 19 | + "introduction.paragraph.features-3": "主要な機能は以下の通りです:", |
| 20 | + "introduction.list-items.features-1": "補間、副翻訳選択、すべての ICU の機能を備えた翻訳。", |
| 21 | + "introduction.list-items.features-2": "日付、時刻、数字、序数、通貨のフォーマッターはモダンなブラウザと node で利用可能なネイティブの Intl API を活用。", |
| 22 | + "introduction.list-items.features-3": "store を使用し、ロケールや翻訳が変更されたときに自動的に更新される、とても使いやすい Svelte 指向の API。", |
| 23 | + "introduction.list-items.features-4": "必要に応じて非同期でロケールをロードする、SSR モードのときにリクエストヘッダからデフォルトのロケールを抽出する、などが行える様々な関数。", |
| 24 | + "introduction.list-items.features-5": "使用していない機能はすべて tree-shaking される。", |
25 | 25 |
|
26 | 26 | "icu-crash-course.title": "ICU構文 短期集中講座",
|
27 | 27 | "icu-crash-course.table-heads.definition": "入力",
|
|
0 commit comments