Comments (2)
Hi, I can't seem to get the locale to change, I'm putting in en-GB but it's still in Danish. Any ideas?
from jquery-facebook-wall.
Hi, @gracehcoote
There are two options you need to change i order to get the output in english.
The first option is the locale
(https://github.com/thomasclausen/jquery-facebook-wall/blob/master/facebook_wall.plugin.js#L14) and the other is the text_labels
option (https://github.com/thomasclausen/jquery-facebook-wall/blob/master/facebook_wall.plugin.js#L18)
Here's an example:
$('#facebook-wall').facebook_wall({
id: '140239969347795',
access_token: '108285195955733|nBxyzkey6X69Aors5psTwDTOPPY',
limit: 15,
locale: 'en_GB',
text_labels: {
shares: {
singular: 'Shared % time',
plural: 'Shared % times'
},
likes: {
singular: '% like',
plural: '% likes'
},
comments: {
singular: '% comment',
plural: '% comments'
},
like: 'Like',
comment: 'Write comment',
share: 'Share',
days: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
months: ['january', 'february', 'march', 'april', 'may', 'june', 'july', 'august', 'september', 'october', 'november', 'december']
}
});
from jquery-facebook-wall.
Related Issues (20)
- Problem with Internet Explorer
- the plugin is not working HOT 1
- not working in chrome? HOT 1
- Not working
- Security Issue - exposing access token HOT 2
- Prevent certain post types
- Stopped working 08/04/15 HOT 2
- Fix for issue that caused plugin to stop working on 08/04/15 HOT 2
- Date in the local language HOT 4
- Plugin not work HOT 1
- Uncaught TypeError: Cannot read property 'id' of undefined HOT 1
- Image thumbnail size HOT 2
- example error HOT 1
- Wrong limit count when a post in the feed is marked as hidden
- New type - offer
- message_tags in comments HOT 1
- Sort posts from multiple pages/profiles
- Get the next posts
- Stopped working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-facebook-wall.