Fork me on GitHub
Reply New Topic
2016/8/23 5:08:39
#1
Offline
Webmaster

Language flags do not appear correctly

Hi, I have several languages on my site (I live in Belgium, at least 3 languages are the norm here).
When I look in the backend (with iTheme), my first language is appearing ok (flag and all), but the other languages don't have their flags and only show the label I defined for them.

Any idea what could be the reason?

_________________

Me on Ohloh


2016/8/26 11:54:12
#2
Offline
Webmaster

Re: Language flags do not appear correctly

I found out that I needed to remove the spaces between the definitions of the languages.

Quote:

Instead of 'nl, fr, en', I needed to have 'nl,fr,en'. That made it work.



Simple, by you need to think about it

_________________

Me on Ohloh


2016/8/27 18:05:47
#3
Offline
Home away from home

Re: Language flags do not appear correctly

Looks like we need to use a little trim function there

_________________

Steve Twitter: @skenow Facebook: Steve Kenow


2016/9/1 10:59:08
#4
Offline
Webmaster

Re: Language flags do not appear correctly

I had a look at how the block works that displays the language flags, and it's quite basic and straightforward. I'll look into improving that in the future.

_________________

Me on Ohloh


Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.

Recent Posts