Hacker News new | ask | show | jobs
by timvisee 1869 days ago
I don't know. Have been asking myself the same question the past month.
1 comments

I think it's the locale files, like this one: https://github.com/timvisee/send/blob/master/public/locales/...

If you look at github/linguist, that's what recognizes languages in repos. It has this rule for FreeMarker: https://github.com/github/linguist/blob/32ec19c013a7f81ffaee...

It seems a .ftl extension means FreeMarker to linguist, so those localizations show up as such.

It should be excluded from the stats as it's marked as documentation though: https://github.com/timvisee/send/blob/master/.gitattributes
It shouldn't be excluded because that pattern doesn't match any of the files.

If you run `git check-attr --all public/locales/foo/send.ftl` with the current .gitattr file, you'll get no attributes.

If you update the attr match to `public/locales/**` or `public/locales/**/*.ftl`, then the `check-attr` command above will match it and show 'linguist-documentation'.

I think this has something to do with the repo being a fork.

The parent repo doesn't have this issue. The "languages" list doesn't mention Freemarker on https://github.com/mozilla/send