Better HN
topnewbestaskshowjobs
Log inSign up

jodent

1 karma · joined Sep 6, 2014 (12y ago) · 2 submissions

Submissions

comment 12y ago · link · parent

No it doesn't, still takes French for Catalan (French only comes at third place, after Italian), and Swedish for Dutch. (Arguably those are close languages, but hey, this is why I'm using this, right?)

comment 12y ago · link · parent

Quick test:

  ron? snn
  fra? cat
  swe? nds
  ita? und
  nld? gax
Source:

  var franc = require('franc');
  console.log('ron?', franc('Cate bere ai baut?'));
  console.log('fra?', franc('C\'est quoi le bordel la, putain'));
  console.log('swe?', franc('Jag kanner en bot, hon heter Anna'));
  console.log('ita?', franc('che guai'));
  console.log('nld?', franc('graag gedaan'));