Closed khaledhosny closed 8 years ago
What do you mean language manager? Pasting these here for reference
LanguageManager is the class that handles languages exposed in the language drop down lists, adding a new language there allows selecting it in character styles etc.
We need to compile a list of languages that we should add (based on bug reports etc.), @luzpaz can you help with that?
Sure thing.
Reference: Current languages are listed in:
right now language list contains 83 languages. I can add more based on this complied list but this will make a huge list which makes things difficult. So I prefer to close this and open a new bug for each new language.
I tend to agree here, but I’ll wait if @luzpaz can find any languages requested/reported unsupported before that we can add them. A long list is not a problem though, if we keep it sorted alphabetically. May be we can also make it a combobox and allow entering arbitrary language code (like LibreOffice done relatively recently), but this will need some changes to how languages are handled internally.
So Scribus has been adding languages based on if they have a translation of the UI. How do we reconcile languages that haven't been translated for Scribus ?
There are two different uses of the language list and here we are mostly talking about using it to influence the typesetting, so whether Scribus is translated for a given language or not is not much relevant. I think we should go with my suggestion in https://github.com/HOST-Oman/scribus/issues/138#issuecomment-208358624 so that any arbitrary language tag can be used.
yea, go for it.
OK, closing this as #146 should cover us for now.
Since we use the language for OpenType processing, we should expand the list of languages to at least the languages we know are working correctly.