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

Alternate language support #18

Open
no-lex opened this issue Feb 3, 2021 · 1 comment
Open

Alternate language support #18

no-lex opened this issue Feb 3, 2021 · 1 comment

Comments

@no-lex
Copy link
Member

no-lex commented Feb 3, 2021

One of the ways that Imprimis can reach a broader audience is by having support for multiple languages in its UIs and interfaces.

There are two main distinct parts of the game that need to be handled separately, and they are as follows:

  • The CubeScript based UIs, which needs:

    • A list of aliases with values for each language, in individual files
    • All inline strings to be replaced with aliases
    • A UI menu for changing locale
    • Saving of locale options to config
  • The C++ based console interfaces, which needs:

    • A list of CubeScript string var builtins corresponding to messages sent to players via the console
    • A list of alias redefinitions for each language, in individual files

In the long term, revisions to tessfont may be needed to expand language support beyond the Latin-based alphabets currently supported. However, without this, it is still possible to add support for most Romance and Germanic languages.

b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 5, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 8, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 8, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 8, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 8, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 8, 2021
no-lex added a commit that referenced this issue Feb 9, 2021
convert strings to aliases in options.cfg for #18
no-lex added a commit that referenced this issue Feb 9, 2021
Change strings to aliases in ui.cfg for #18
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 9, 2021
no-lex added a commit that referenced this issue Feb 9, 2021
game.cfg: replace strings with aliases for #18
no-lex added a commit that referenced this issue Feb 11, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 12, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 13, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 13, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 13, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 13, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 14, 2021
Note that the listcomplete line remains unchanged because it handles autocompletion.
@b-sharman
Copy link
Member

b-sharman commented Feb 14, 2021

As of 6c04712, the following cfg files remain:

  • class.cfg (good for first-time contributors, except the slight complexity of adding concatwords)
  • fkey.cfg (I am currently working on it)
  • scoreboard.cfg (might involve removing English abbreviations such as PJ)

I do not know which C++ files need changing.

b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 25, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 28, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 28, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 28, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 28, 2021
b-sharman added a commit to b-sharman/imprimis that referenced this issue Feb 28, 2021
@ghost ghost mentioned this issue Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants