Skip to content
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

[feature] Allow to use language folders #169

Open
martinec opened this issue Aug 11, 2022 · 0 comments
Open

[feature] Allow to use language folders #169

martinec opened this issue Aug 11, 2022 · 0 comments

Comments

@martinec
Copy link
Member

martinec commented Aug 11, 2022

Is your feature request related to a problem? Please describe.

The IDE requires a notion of a language folder. This will avoid displaying folders that do not contain a language.

Describe the solution you'd like

The proposed approach is as follows:

Each language folder contains a file, named <language_code>.info, e.g. fr.info with the following mandatory information:

language_name = French
language_native = Français
langue_code = fr

(check out the Languages table on https://github.com/UnitexGramLab/unitex-lingua)

Then, the IDE must proposes as languages only folders containing a .info file with at least the 3 information mentioned above (language_name, language_native, language_code)

It must be possible to override this behavior by unchecking a check box "Show only language folders".

If no language file is found, the IDE may suggest to search in another location, and shall mention that other languages are available to download from https://unitexgramlab.org/releases/latest-stable/lingua/

Describe alternatives you've considered

NA

Additional context

The current dialog:

The proposed dialog:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant