Skip to content

Commit

Permalink
add id_ID to lib, create new id_ID js in locale
Browse files Browse the repository at this point in the history
  • Loading branch information
deerawan committed Dec 9, 2015
1 parent 011d6be commit 71d35ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ exports['fa'] = require('./locales/fa');
exports['fr'] = require('./locales/fr');
exports['fr_CA'] = require('./locales/fr_CA');
exports['ge'] = require('./locales/ge');
exports['id_ID'] = require('./locales/id_ID');
exports['it'] = require('./locales/it');
exports['ja'] = require('./locales/ja');
exports['ko'] = require('./locales/ko');
Expand Down
5 changes: 5 additions & 0 deletions locale/id_ID.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var Faker = require('../lib');
var faker = new Faker({ locale: 'id_ID', localeFallback: 'en' });
faker.locales['id_ID'] = require('../lib/locales/id_ID');
faker.locales['en'] = require('../lib/locales/en');
module['exports'] = faker;

0 comments on commit 71d35ad

Please sign in to comment.