mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Add polish to processing lanugages
SOLR doesn't support polish out of the box. Plugins are required for polish. The language has been added only with basic support. For better results, a manual setup of solr is required. Closes: #1345
This commit is contained in:
@ -128,6 +128,11 @@ object Language {
|
||||
val iso3 = "lit"
|
||||
}
|
||||
|
||||
case object Polish extends Language {
|
||||
val iso2 = "pl"
|
||||
val iso3 = "pol"
|
||||
}
|
||||
|
||||
val all: List[Language] =
|
||||
List(
|
||||
German,
|
||||
@ -148,7 +153,8 @@ object Language {
|
||||
Latvian,
|
||||
Japanese,
|
||||
Hebrew,
|
||||
Lithuanian
|
||||
Lithuanian,
|
||||
Polish
|
||||
)
|
||||
|
||||
def fromString(str: String): Either[String, Language] = {
|
||||
|
Reference in New Issue
Block a user