Skip to content

Initial multilanguage support#19

Open
mirober wants to merge 14 commits into
masterfrom
languages
Open

Initial multilanguage support#19
mirober wants to merge 14 commits into
masterfrom
languages

Conversation

@mirober

@mirober mirober commented Sep 26, 2019

Copy link
Copy Markdown
Owner

These changes should allow at least a basic form of multi language support. An uncompleted example for Dutch (nld) is provided

Things that need to be done to support a new language:

  • Change language parameter in settings.toml to the tag of the new language
  • Create a new folder in mathfly.config with the tag as the name, any configuration file copied into this folder will be imported instead of the English files.
  • Create a new integer content file in mathfly.lib.numbers, either containing a reference to one of the dragonfly implementations or a new one.

Perhaps in the future we will just grab the current language from Dragon instead of requiring the settings change, but I think for now this is simpler for testing.

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

Successfully merging this pull request may close these issues.

1 participant