-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Danish not recognized #29
Comments
Danish full ICU locale code is da: language https://www.localeplanet.com/icu/da-DK/index.html so should be renamed in fpb |
let's wait for a response from @brogan20 |
As far as I can tell the file in fpb should be |
Solved. See PR EbookFoundation/free-programming-books#6909 |
I was trying to use fpb.json to improve my telegram bot (EbookFoundation/free-programming-books#6263) and I noticed an anomaly, there is an element with no language:
The problem is that on free-programming-books this file is called
free-programming-books-dk
but on the languages.js the Danish is equal toda
.I didn't create a PR to rename the file because I don't know which language code to use; ISO 639-2 list says that the code of Danish language is
da
.Using the search the resources are there, although with some resources writing the full title does not find them, you have to delete a few characters, for example:
Object-oriented Programming in C#
: you have to deletein C#
Objektorienteret programmering i Java
: you have to deleteava
Obviously without

language.code
value the result is:The text was updated successfully, but these errors were encountered: