Added Bulgarian but should manually change files in order to work

I’ve added everything needed for including Bulgarian language.
However, when I build the whole solution, I should manually add: “languageClasses=org.languagetool.language.Bulgarian” in “languagetool-standalone\target\LanguageTool-6.0-SNAPSHOT\LanguageTool-6.0-SNAPSHOT\META-INF\org\languagetool” so that the application could work. For some reason the built does not include it.

This is how the LanguageTool - 6.0 - SNAPSHOT looks like:

It is weird because I have 2 “META_INF”. In the first one “languageClasses=org.languagetool.language.Bulgarian” is included, but it is single.

It is the second one where are all the languageClasses and my class is missing there. Is there anything I am doing wrong here?

I think it’s always META-INF, the variant with the underscore might be a typo somewhere in your code or configuration files.

1 Like

@popaqy Fellow Bulgarian here, calling from the future. Have you had any success setting up your Bulgarian ruleset? If you did, would you mind forking LanguageTool’s repo, adding your setup, and creating a PR to them (as per this link)? I am very keen in seeing Bulgarian become a first-party language, supported by LT, and I am very interested in helping out polishing the ruleset, adding new and more complex rules, etc. Especially, since, as of this writing, the cloud version still mistakenly assumes that anything having Cyrillic in it must be Russian (which, I take as a capital offense). Even more so, since Bulgarian is one of the official EU languages - it makes no sense not having it in LT.

@dnaber Let’s all work together and bring in this fantastic language to LT, shall we? How can I be of help?

LanguageTool uses GitHub - optimaize/language-detector: Language Detection Library for Java · GitHub for language detection, unfortunately it hasn’t been updated in 10 years.