Plugin multilingue 🌐

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 Mi Piace

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 Mi Piace

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 Mi Piace

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 Mi Piace

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 Mi Piace

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

3 Mi Piace

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 Mi Piace

Ho risolto i vari problemi di compatibilitĂ  con questo plugin. Aggiorna il plugin e discourse e funzionerĂ  come previsto.

4 Mi Piace

Ciao,

Grazie innanzitutto per tutto l’ottimo lavoro.

Ho installato e abilitato questo e il plugin discourse translator su un nuovo forum. L’API di traduzione funziona bene, ma avevo l’impressione che con questo plugin fosse possibile visualizzare automaticamente i post tradotti che non sono scritti da un utente, nella loro rispettiva lingua, automaticamente.

In sostanza, in un mondo ideale con traduzioni ideali, una persona che parla solo francese navigherĂ  nei forum (che sono, diciamo, in inglese) e vedrĂ  tutto come scritto in francese.

Ho capito male la funzionalitĂ ? Non Ăš possibile ottenerlo con questo plugin?

3 Mi Piace

A tutti coloro che mi hanno contattato di recente riguardo al funzionamento delle traduzioni di categorie e tag, ovvero le funzionalitĂ  descritte qui:

Avete contattato al momento giusto :slight_smile: Un cliente di Pavilion sta effettivamente cercando di far funzionare quella funzionalità sull’attuale Discourse, quindi io e @merefield ci lavoreremo a maggio/giugno. Pubblicheremo un aggiornamento qui quando sarà pronto.

Questa non Ăš attualmente una funzionalitĂ  del plugin, ma potrebbe essere aggiunta in futuro. Si prega di consultare la documentazione a riguardo, in particolare la parte in grassetto qui sotto. Questo Ăš ciĂČ che fa attualmente l’integrazione con il plugin Translator.

Sincronizzazione Discourse Translator

Se hai:

  1. il Plugin Discourse Translator installato;
  2. il Plugin Translator abilitato;
  3. il Plugin Multilingua abilitato; e
  4. le lingue dei contenuti abilitate

puoi abilitare multilingual translator content tag sync (non potrai abilitarlo a meno che tutte e quattro le condizioni non siano vere).

La sincronizzazione applica automaticamente la lingua rilevata dei post in un argomento come lingue dei contenuti, purché la lingua rilevata corrisponda a una lingua dei contenuti abilitata sul tuo sito.

9 Mi Piace

Ciao,

Quando attivo questo plugin, i miei vecchi tag hanno un errore “Errore interno del server”
Ho questo errore quando controllo per scegliere i tag nell’editor per un nuovo post.

3 Mi Piace

Ci darĂČ un’occhiata domani e ti farĂČ sapere.

2 Mi Piace

Ho anche riscontrato alcuni problemi con i tag qui:

2 Mi Piace

@cmdntd Questo problema Ăš stato risolto e il plugin Ăš di nuovo sicuro da usare. Grazie per la segnalazione.

7 Mi Piace

Ciao,

Quando uso questo plugin, l’opzione “force lowercase tags” non funziona.
Non ho selezionato questa opzione, ma tutti i tag vengono cambiati in testo minuscolo.

Potresti controllare, per favore?

2 Mi Piace

Ciao, ho impostato l’opzione “multilingual require content language tag”

Ma Ăš obbligatoria solo per me (admin). Non Ăš obbligatoria per gli altri utenti per il tag della lingua.
Potresti controllare, per favore?

Ho ricontrollato. Ora va bene

3 Mi Piace

Sono contento che tu abbia risolto :+1:

Solo una nota che @merefield sta lavorando su questo plugin in questo momento, sia sulle correzioni di bug che sulle funzionalitĂ  di traduzioni personalizzate. Questo lavoro dovrebbe essere completato entro la fine di giugno.

3 Mi Piace

OK, appassionati di lingue, abbiamo unito un paio di correzioni e speriamo che il plugin sia ora piĂč utile:

Coloro che desideravano il supporto per lingue con codici misti dovrebbero ora averlo:

@4ong per favore conferma se questo risolve il tuo problema

Un bug che permetteva ai tag di contenuto linguistico di apparire indesiderabilmente nella pagina dei tag dovrebbe ora essere corretto:

Come parte del nostro rinnovato impegno per garantire che questi problemi non si ripresentino, ci siamo sforzati di includere test per coprire questi scenari specifici.

Come sempre, aggiorna e facci sapere se riscontri problemi con questi scenari.

6 Mi Piace

SĂŹ. Sono cosĂŹ felice! Grazie!

3 Mi Piace

Ciao. Mi piacerebbe molto poter tradurre la descrizione delle categorie. La traduzione dei soli nomi delle categorie Ăš quasi inutile

2 Mi Piace