Locale=nl_BE (Dutch Belgium) no longer supported (in iframe like button)? - facebook

We are a site located in Belgium. We added the 'locale=nl_BE' parameter to our iframe like button so it says like but in the Dutch language (= "vind ik leuk").
This no longer works. When we change the locale to nl_NL (also Dutch language) the like button works again.
When I check the Facebook Internationalization documentation I can't seem to find Belgium or nl_BE, strange right? This worked for months until yeaserday. http://www.facebook.com/translations/FacebookLocales.xml
jsFiddle: http://jsfiddle.net/Jeroenvdb/cw6js/1/
nl_NL (working): https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.hln.be%3Futm_source%3Dfacebook%26utm_medium%3Dweb&locale=nl_NL&send=false&layout=box_count&width=0&show_faces=false&action=like&colorscheme=light&font&height=85
nl_BE (not working): https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.hln.be%3Futm_source%3Dfacebook%26utm_medium%3Dweb&locale=nl_BE&send=false&layout=box_count&width=0&show_faces=false&action=like&colorscheme=light&font&height=85

Facebook just closed the bug report I had posted about the nl_BE issue.
"This locale is not currently supported. But you should be able to load the plugin even if a locale is not supported, it will fallback to en_US locale."
http://developers.facebook.com/bugs/442881812429427
That's just plain silly. The change I see compared to a few months ago is that (as is mentioned in the comment on the bug) share buttons no longer break when you pass an unsupported locale but fallback to en_US.
They should get their language/locale act together.

Must be a new bug or code change at Facebook. Similarly, en_EN which worked before no longer works. en_US does work.

Related

Facebook JavaScript SDK like button displayed sometimes in Japanese and sometimes in Spanish when I specify en_US

When I use the following:
//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3
I get: πŸ‘γ„γ„γ­οΌ3
Or sometimes: πŸ‘Me gusta 3
Here is Facebook's documentation on setting the language:
https://developers.facebook.com/docs/plugins/like-button/#language
Has anyone else run into this? Is there something else that is overridding the language?
I am running into this as well - no luck finding a solution so far. Started a few days ago..

"Raised mr sign" not rendered correctly

I am looking for a implementation of the "raised mr sign" defined in unicode (version 12.0). I tried to get the character from here:
http://www.fileformat.info/info/unicode/char/1f16c/browsertest.htm
It should be look like this: πŸ…¬ But all I see is a blank rectangle.
It looks like it is not implemented yet by this character-representation: πŸ…¬ in HTML.
I can not find an visual representation of it.
The page says it;
You need a font that supports this character to even have a hope of
seeing it correctly in the browser.
Tested the link on Firefox 69, running on Ubuntu 18 LTS, renders fine.

manifest.json display property has invalid option of browser

The documentation seems to state that there are four options for the "display" property within a manifest.json: fullscreen, standalone, minimal-ui and browser
I decided upon 'browser' for one of my apps, but the message from Chrome (Version 76) says "Manifest 'display' property must be one of 'standalone', 'fullscreen' or 'minimal-ui'". The message also appears if I leave 'display' undefined.
Is 'browser' an obsolete option or has it just not made it into the latest Chrome version yet?
(I probably should mention that the message appears in Chrome DevTools>application>manifest).
Valid options for display are fullscreen, standalone, minimal-ui and browser according to https://developer.mozilla.org/en-US/docs/Web/Manifest/display.
In order to show the Add to Home Screen Prompt, display must be set to must be one of: fullscreen, standalone, or minimal-ui, see https://developers.google.com/web/fundamentals/app-install-banners/
browser display option is like leaving the field empty.
When you use standalone it looks like native app. When you use fullscreen there is no status bar etc. Probably you want to use standalone, because fullscreen has very specific use-case (e.g. gaming).
I finally got around to reporting it as a bug.
https://bugs.chromium.org/p/chromium/issues/detail?id=1330323
The immediate response was...
The behaviour is seen from M-85.This is is a non regression issue
hence marking it as untriaged and requesting some one from dev team to
look into the issue.

How to set language in facebook apprequest method

I have used FB.ui - apprequests method. Everything is working fine. My app for french people.
So, how to change the language using any parameters?
You have to call the JS SDK with the correct locale, see https://developers.facebook.com/docs/javascript/gettingstarted/#params
I have solved my problem. I have faced a localization problem.
From the beginning, I have used https://connect.facebook.net/en_US/all.js script.
Based on my needs, I have used https://connect.facebook.net/it_IT/all.js.
Issue fixed..Thanks CBroe. :)

Bug in external link tracking when opening the link in a new window in Google Analytics?

First off, I apologize if it's considered poor etiquette to cross-post on stackexchange sites, but this seemed appropriate for both the webmasters site and here, as it's a common issue for webmaster, but may be able to be solved by coders. In any case, here goes...
OK, so this seems like a really simple problem, but I have yet to find a solution that accomplishes the following:
Opens the link in a new window
Tracks the event in GA when using the asynchronous code
Doesn't trigger pop-up blockers (uses target="_blank" instead of window.open)
Most of the code I've seen, including Google's, doesn't take into account the case of opening in a new window - they just use window location.href.
Even GAAddons (http://gaaddons.com/), which charges for commercial use, seems to not manage opening in new windows properly.
Perhaps, I'm missing something simple - I'd be relieved if so and would thank profusely whoever points it out to me!
If no one is able to provide an example, I'll post some of the test cases I've created to illustrate the problem.
Thanks.
[EDIT] I've since tested the GAAddons code more throughly and have found it to work. I'm guessing the problem that was being reported earlier by a client using Chrome 7 on Windows was more likely a configuration issue than something related to the GAAddons library itself.
You put it in the link's onclick attribute:
some link
The method I've found to satisfy all the requirements I've mentioned is the one found here:
http://cutfromthenorth.com/add-external-link-tracking-with-jquery-and-google-analytics/
It's actually quite simple, leading me to think that there was some other reason why other code wasn't working in earlier tests.
However, I can confirm that the method that's mentioned in the comments on this Google page - http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55527 - does not meet the above requirements (new windows trigger popup warning on Chrome and IE).
The Google code does work for tracking external links not opened in a new window.
here's the snippet:
$('a[target=_blank]').click(function(){
try{
_gaq.push(['_trackEvent', 'External Links', 'Click', $(this).attr('href')]);
} catch(err) {}
return true;
});
I've tested on the following browsers:
PC:
IE 6 - 9
Firefox 3.6, 4.0
Chrome 9, 10
Safari 5
Opera 11
Mac:
Safari 5
Chrome 10
Firefox 3.6, 4.0
Also tested on iPhone 4 and the native Android browser on Gingerbread