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

Language of grid-controls and language of default grid #7

Closed
deinhofer opened this issue May 10, 2019 · 5 comments
Closed

Language of grid-controls and language of default grid #7

deinhofer opened this issue May 10, 2019 · 5 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@deinhofer
Copy link
Collaborator

On my Linux machine (English) the grid ui automatically adapts to English. Can this be overridden manually?

Is there a way to define a default grid per language?
e.g. If the user has a locale setting for german, deliver a default grid in german, if he/she has a locale setting for english, deliver a default grid for english.

Does this make sense?

@deinhofer deinhofer added enhancement New feature or request question Further information is requested labels May 10, 2019
@deinhofer
Copy link
Collaborator Author

@klues is a default grid per language possible or existent at the moment?

@klues
Copy link
Contributor

klues commented Jul 8, 2019

Currently the Grids from examples/default_[Language_code].grd are imported by default where the language code is the default language of the browser, e.g. "de" for German. If the correct .grd file is not found "default.grd" will be imported, which is currently an English grid.

@klues
Copy link
Contributor

klues commented Jul 23, 2019

today for I've added the possibility to manually set the language by executing:
setLanguage('en') or
setLanguage('de')
in the javascript console. After a page refresh the language adapts. I needed this for fast switching for creation of screenshots in both languages for the manual.

Maybe this options should be available in the GUI at some time, but I don't think it's very important or needed at the moment.
For the moment I'll close this issue.

@klues klues closed this as completed Jul 23, 2019
@deinhofer
Copy link
Collaborator Author

thanks, good idea.
What also works is to change the language in the browser preferences and reload the grid page.

@klues
Copy link
Contributor

klues commented Jul 24, 2019

yes, of course, but it's very time consuming if you have to do it for every screenshot...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants