Change to flag BBCode

This forum is for discussing the ongoing and future projects and resources of UniLang. Please post your comments, criticism and ideas here. We are always trying to expand on things members find useful, helpful, or fun! This is also the place to report errors in systems and resources on the UniLang site.

Moderators: Global Moderators, Forum Administrators

User avatar
Luís
Forum Administrator
Posts: 6975
Joined: 2002-07-12, 22:44
Location: Lisboa
Country: PT Portugal (Portugal)

Re: Change to flag BBCode

Postby Luís » 2017-08-28, 8:43

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.
Quot linguas calles, tot homines vales

User avatar
dEhiN
Posts: 4711
Joined: 2013-08-18, 2:51
Real Name: David
Gender: male
Location: Toronto
Country: CA Canada (Canada)
Contact:

Re: Change to flag BBCode

Postby dEhiN » 2017-09-04, 4:05

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?
My TAC for 2017.

(en-CA) (fr) (es) (pt-BR) (ko) (sv) (sq) (ga)

vijayjohn
Language Forum Moderator
Posts: 17662
Joined: 2013-01-10, 8:49
Real Name: Vijay John
Gender: male
Location: Austin
Country: US United States (United States)

Re: Change to flag BBCode

Postby vijayjohn » 2017-09-04, 4:10

[flag=whatever the name of the language is, no quotes necessary]

then the code

then [/flag], e.g.

Classical Chinese (zhc)

User avatar
dEhiN
Posts: 4711
Joined: 2013-08-18, 2:51
Real Name: David
Gender: male
Location: Toronto
Country: CA Canada (Canada)
Contact:

Re: Change to flag BBCode

Postby dEhiN » 2017-09-04, 4:18

Ok thanks. Not sure why it didn't work for me that one time I tried it.
My TAC for 2017.

(en-CA) (fr) (es) (pt-BR) (ko) (sv) (sq) (ga)

vijayjohn
Language Forum Moderator
Posts: 17662
Joined: 2013-01-10, 8:49
Real Name: Vijay John
Gender: male
Location: Austin
Country: US United States (United States)

Re: Change to flag BBCode

Postby vijayjohn » 2017-09-04, 4:21

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!


Return to “Unilang - Information, Input, and Questions”

Who is online

Users browsing this forum: No registered users and 5 guests