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

Initial multilanguage support #19

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

Initial multilanguage support #19

wants to merge 14 commits into from

Conversation

mrob95
Copy link
Owner

@mrob95 mrob95 commented Sep 26, 2019

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