Page 2 of 2

Re: Change to flag BBCode

Posted: 2017-08-28, 8:43
by Luís
md0 wrote:Maybe what could happen is that the flag BBCode generates a different HTML output, and not an image. So we keep the shorthand, but we get rid of the flags.

Something like [Native Lang Name] + [Lang Code: English Name Tooltip].

Code: Select all

<dfn><abbr title="pt-BR: Brazilian Portuguese">Português do Brasil</abbr></dfn>


You'd see Português do Brasil, and if you hover over it, then you'll see pt-BR: Brazilian Portuguese as a tooltip.


That would be neat. We can try to add that as a new BBCode in the future.
But we're not getting rid of flags. Besides the BBCode, they're used extensively to identify language forums, in user profiles, etc.
I'm aware there are problems with it, but it's still one of the best ways to identify languages that is actually language independent. Using the English names all the time has problems of its own.

I'll also gladly add any new flags you think might be missing in order to represent specific languages or language varieties.

Re: Change to flag BBCode

Posted: 2017-09-04, 4:05
by dEhiN
How can I add two or more words to the tooltip phrase? For example I can do flag=Chinese but if I try flag=Classical Chinese or flag="Classical Chiense", the flag doesn't show up. With the new changes to the BBCode, is it possible to have more than one word show up for the tooltip?

Re: Change to flag BBCode

Posted: 2017-09-04, 4:10
by vijayjohn
[flag=whatever the name of the language is, no quotes necessary]

then the code

then [/flag], e.g.

Classical Chinese (zhc)

Re: Change to flag BBCode

Posted: 2017-09-04, 4:18
by dEhiN
Ok thanks. Not sure why it didn't work for me that one time I tried it.

Re: Change to flag BBCode

Posted: 2017-09-04, 4:21
by vijayjohn
Maybe you just didn't use the right code for Classical Chinese? It's not the most intuitive code IMO (I figure codes can only be so intuitive, after all). Or it could've even been a bracket error or something ('cause those happen all the time, too), who knows!