Support for formal/informal language variations

I was wondering the same thing.

It looks like transifex supports regional subtags, but unless I missed seeing them, not script (eg. cyrillic / latin) or variant (eg. de-DE-1901) subtags.

http://www.rfc-editor.org/rfc/bcp/bcp47.txt

Maybe it’s only because nobody has done any yet?

according to the given rfc the following tags would be correct?

de-formal
de-informal

My question is does transifex support that?

We usually get rule information from unicode.org.

When we add support for a language we follow the BCP47 standard. The multiple language locales are based on region subtags.

Seeing “based on region subtags” doesn’t look hopeful (if it means only). But maybe the CLDR means there’s a chance.

Do you see “formal / informal” anywhere in that?

I don’t think so. I couldn’t find anything in the language settings of my Transifex test project that relates to language variations. This is all there is when I’m searching for German:

Yes, that’s what I see when I look around, some language-region translations but not any language-script etc. translations. (with maybe Chinese being an exception?)

@meglio
During your travels in web land have you found a way to specify cyrillic vs. latin?

1 Mi Piace

Sorry I don’t understand the question. May you reformulate in other words please?

From what I see in transifex, language-region translations are supported. eg.

Portuguese (Portugal)
Portuguese (Brazil)
Spanish (Argentina)
Spanish (Latin America)
Spanish (Ecuador)
Spanish (Mexico)
Spanish (Spain)

But I don’t see anything like

Ukraine (Latin)
Ukraine (Cyrillic)

or

German (Formal)
German (Informal)

I noticed that your forum uses Cyrillic so I was wondering if you knew of a way to have a choice as to which variant to use.

1 Mi Piace

Thanks for such a detailed explanation. Now I see what you mean :slight_smile:

The answer is NO - Ukrainian and Russian are single languages with no variations available there.

There are of course cases with huge regional differences, but those have never been formalized.

The number of percentage of world’s population speaking Ukrainian or Russian is declining, so I don’t think such a sectioning will ever happen.

1 Mi Piace

La variante formale/informale è un grosso problema nelle lingue con una distinzione T-V (come il tedesco o l’ungherese). Usare una variante che non corrisponde al tuo pubblico può alienarlo; ancora di più se il sito a cui Discourse è collegato utilizza l’altra opzione. Sembra che negli anni trascorsi da questa conversazione Discourse sia passato da Transifex a Crowdin, quindi forse ora è più facile da gestire?

Per quanto riguarda i nomi delle lingue, l’approccio compatibile con gli standard sarebbe l’uso di un sottotag di uso privato BCP-47, come de_DE-x-formal. Vedo che per il tedesco esiste ora un plugin, ma sembra un approccio molto “hacky” e mi piacerebbe vederne uno più pulito (personalmente sono interessato ad avere una variante informale per l’ungherese).

1 Mi Piace

Nel frattempo, Discourse si è spostato su Crowdin per gestire le traduzioni delle lingue dell’interfaccia. Non riesco a trovare alcun riferimento a varianti formali e informali, ma hanno varianti regionali. Mi chiedo se queste varianti regionali siano fisse dal sistema, o se gli amministratori del progetto possano crearne di nuove. Se gli amministratori possono, allora sarebbe possibile creare, ad esempio, Ungherese (Informale). Il software può persino riempire automaticamente le stringhe non tradotte tra le varianti, in modo che i traduttori debbano concentrarsi solo sulle frasi che differiscono tra formale e informale.

Se questo processo funzionasse tecnicamente, la creazione di varianti formali/informali potrebbe seguire lo stesso processo della richiesta di nuove lingue.

Come parlante di varie lingue con versioni formali e informali, sono d’accordo con tutti coloro che richiedono questa funzionalità qui (dichiarazione di non responsabilità: @Tgr ed io proveniamo dallo stesso progetto). Trovare un equivalente inglese è difficile, ma immagina che l’interfaccia di Discourse si rivolga a tutti con il tono e il registro di un servitore alla corte della Regina Elisabetta. :slight_smile:

Ciò che è fastidioso riguardo al “processo” attuale è che non esiste uno standard comune. Diverse lingue sono state tradotte in formale o informale a seconda di ciò che il primo traduttore (o i primi traduttori) ha deciso di fare quando ha iniziato a tradurre.