多言語プラグイン 🌐

Hey all, thanks for your patience on this plugin. I’ve now

  1. Fixed the various issues that were arising when using the plugin with the latest code
  2. Updated the frontend and backend tests to support the new code
  3. Integrated it into our CI system to monitor any issues going forward
  4. Re-added it to try.thepavilion.io

try.thepavilion.io is Pavilion’s public staging site that’s updated to the latest discourse every 24 hours. You can see for yourself whether the issue you’re interested in is addressed there, and test the feature set. For example if you have you content languages set to French and Italian, and your interface language (aka locale) set to French, you’ll see this

I’ve closed some old issues on the repo, and asked for the recently created ones (the feature requests in any event) to be submitted at thepavilion.io. Please report any further issues, or make any feature requests using the bug report or feature request wizards on thepavilion.io.

「いいね!」 4

An error occurs in the console on the plugin page - /admin/multilingual/languages
Uncaught Error: There is no route named tags.show

And the changes are not saved (Internal Server Error)

「いいね!」 1

Hello @angus,
I have problem on my fresh self-hosted discourse. Every time when I push save changes I get blank modal with “Internal Server Error” title. After hit ok, the plugin page is blank, but settings are saved.
Next, when I try to add other language to exist, the checkboxes which was previously checked after save are uncheck. So when I want to add a new language I must uncheck everything, save, and now check this one which I want.
Also I sometimes notice the settings reset to default just after night.

「いいね!」 1

I’ve merged in an update from vcoffey (sorry Vern, couldn’t find you here), who’s supported by @oreillyc. I’ve also made various updates to the plugin today.

@hiddenlucas Please upgrade and test it again. If you have any further issues please fill out a bug report here: Bug Report

You can test this plugin here: https://try.thepavilion.io/

「いいね!」 2

Hello,

Is this a bug or on purpose ?

Screenshot from: https://try.thepavilion.io/ but I have the same problem.

The language tag is not appearing in the tag dropdown menu making it difficult to filter topics using the tag. The reason I found is simply because the anchor is missing from the list item: <a data-tag-name="en" class="discourse-tag box">en</a>

If you add it it displays properly:

「いいね!」 1

Thanks, that’s been addressed. See: https://try.thepavilion.io

「いいね!」 3

Hi @angus,

Is it possible to select specific interfaced languages that will be shown in the guest language switcher (at header)? Currently the switcher will show many languages in the drop down menu. I didn’t find the code that controls the languages. Any guide will be appreciated.

「いいね!」 2

このプラグインのさまざまな互換性の問題を解決しました。プラグインと Discourse を更新すると、期待どおりに動作するはずです。

「いいね!」 4

こんにちは、

まず、素晴らしい仕事をしてくださったことに感謝いたします。

新しいフォーラムにこのプラグインとディスコース翻訳プラグインをインストールして有効にしました。翻訳APIは正常に機能していますが、このプラグインを使用すると、ユーザーが話さない投稿をそれぞれの言語で自動的に表示できると思っていました。

基本的に、理想的な翻訳が可能な理想の世界では、フランス語しか話さない人がフォーラム(たとえば英語)を閲覧し、すべてがフランス語で書かれているのを見るでしょう。

機能の理解を間違っていましたか?このプラグインでは達成できないことですか?

「いいね!」 3

最近、カテゴリとタグの翻訳を機能させる方法について問い合わせてくれた皆さんへ。つまり、ここで説明されている機能についてです。

ちょうど良いタイミングで連絡をいただきました :slight_smile: Pavilion のクライアントが、現在の Discourse でその機能を実現したいと考えており、@merefield と私は 5 月/6 月にそれに取り組む予定です。準備ができたら、ここにアップデートを投稿します。

これは現在のプラグインの機能ではありませんが、将来的には追加される可能性があります。このドキュメントの、特に以下の太字の部分を参照してください。これが、Translator プラグインとの現在の統合が機能することです。

Discourse Translator 同期

以下を有効にしている場合:

  1. Discourse Translator Plugin がインストールされている。
  2. Translator Plugin が有効になっている。
  3. Multilingual Plugin が有効になっている。そして
  4. コンテンツ言語が有効になっている。

multilingual translator content tag sync を有効にできます(これら 4 つすべてが真でない限り有効にすることはできません)。

同期は、検出された言語がサイトで有効になっているコンテンツ言語と一致する限り、トピック内の投稿の検出された言語を自動的にコンテンツ言語として適用します。

「いいね!」 9

こんにちは。

このプラグインを有効にすると、古いタグに「内部サーバーエラー」が発生します。
新しい投稿のエディターでタグを選択しようとすると、このエラーが発生します。

「いいね!」 3

明日確認して、折り返しご連絡します。

「いいね!」 2

また、ここのタグにも問題が見つかりました。

「いいね!」 2

@cmdntd この問題は解決され、プラグインは再び安全に使用できるようになりました。ご報告ありがとうございました。

「いいね!」 7

こんにちは。

このプラグインを使用すると、「force lowercase tags」オプションが機能しません。
このオプションにチェックを入れていないにもかかわらず、すべてのタグが小文字に変更されてしまいます。

ご確認いただけますでしょうか。

「いいね!」 2

こんにちは、「multilingual require content language tag」というオプションを設定しました。

しかし、私(管理者)にのみ必須であり、他のユーザーには言語タグが必須ではありません。
ご確認いただけますでしょうか?

再確認しました。問題ありません。

「いいね!」 3

解決できてよかったですね :+1:

ちょっとしたお知らせですが、@merefield が現在このプラグインに取り組んでいます。バグ修正とカスタム翻訳機能の両方です。この作業は6月末までに完了する予定です。

「いいね!」 3

言語ファンの皆さん、いくつかの修正を統合しました。これでプラグインがより便利になることを願っています。

大文字と小文字が混在する言語コードのサポートを希望されていた方は、対応されたはずです。

@4ong さん、これで問題が解決するか確認してください。

言語コンテンツタグがタグページに望ましく表示されることを許可していたバグは、修正されたはずです。

これらの問題が再び発生しないようにすることに改めて注力する一環として、これらの特定のシナリオをカバーするテストを含めるようにしました。

これまで通り、アップデートして、これらのシナリオで問題が発生していないかお知らせください。

「いいね!」 6

はい、解決しました!ありがとうございます!

「いいね!」 3

こんにちは。カテゴリーの説明も翻訳できれば大変嬉しいです。カテゴリー名だけの翻訳はほとんど役に立ちません。

「いいね!」 2