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

'Set Languages' dialog suggestions #569

Open
rtonsing opened this issue Dec 6, 2024 · 1 comment
Open

'Set Languages' dialog suggestions #569

rtonsing opened this issue Dec 6, 2024 · 1 comment
Labels
future feature New feature or request, but not core

Comments

@rtonsing
Copy link

rtonsing commented Dec 6, 2024

Not sure how much this is actually used now, but it could be valuable in the future for spell check, and PPtxt character & scanno checks.

  1. Show current value
  2. Show hint for format - 2-letter, space delimited
  3. Disallow invalid values - limit to 3 chars, or internal list (487 languages)?
  4. Perhaps a link to a reference - https://www.loc.gov/standards/iso639-2/php/code_list.php?
@windymilla windymilla added the future feature New feature or request, but not core label Dec 6, 2024
@windymilla
Copy link
Collaborator

windymilla commented Dec 6, 2024

Thanks - I'll put this to "future feature" as GG1 has coped OK with it for many years, so not vital for the first release.

Other notes:

  1. Currently shown in the status bar.
  2. Actually, any lowercase word (including underscores) is permitted, and multiple languages can be separated by any non-word character, e.g. en+de or fr,no or en_us esperanto
  3. Something like this has been suggested by @srjfoo (in fact that it should only permit languages for which you have a language dictionary installed), but at the moment I'm hesitant to restrict it like that. We only ship a few dictionaries with the release, but the user can make a dictionary themselves and name it however they like. An argument in its favor is that the first language named will end up as the "lang" in the HTML. So, I'm still undecided.
  4. I think such a link should go in the manual, if anywhere - but since the user will also have to create a dictionary with a matching name, then as mentioned above it's not really too important what they call it, unless it's one of the few we ship.

GG1 also has the concept of language-specific labels, e.g. the word for FOOTNOTES. GG2 doesn't have that yet, but noting it here as another feature that is language-related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future feature New feature or request, but not core
Projects
None yet
Development

No branches or pull requests

2 participants