HOST-Oman / scribus

Project for adding complex text layout to Scribus DTP program
Other
36 stars 21 forks source link

Add more language to the LanguageManager #138

Closed khaledhosny closed 8 years ago

khaledhosny commented 8 years ago

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.

luzpaz commented 8 years ago

What do you mean language manager? Pasting these here for reference

khaledhosny commented 8 years ago

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.

khaledhosny commented 8 years ago

We need to compile a list of languages that we should add (based on bug reports etc.), @luzpaz can you help with that?

luzpaz commented 8 years ago

Sure thing.

luzpaz commented 8 years ago

Reference: Current languages are listed in:

luzpaz commented 8 years ago
Fahad-Alsaidi commented 8 years ago

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.

khaledhosny commented 8 years ago

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.

luzpaz commented 8 years ago

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 ?

khaledhosny commented 8 years ago

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.

luzpaz commented 8 years ago

yea, go for it.

khaledhosny commented 8 years ago

OK, closing this as #146 should cover us for now.