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

Force default locale #80

merged 2 commits into from Apr 8, 2013


Copy link

commented Apr 7, 2013


I've added possibility to force whole gitblit instance locale. Not everyone wants viewing Gitblit service in their native locale - english language is sometimes less verbose and more clear.

Idea: next step could be selecting locale based on user personal settings - what do you think?


@gitblit gitblit merged commit a770f32 into gitblit:master Apr 8, 2013


This comment has been minimized.

Copy link

commented Apr 8, 2013

Hi Lukasz,

There has been an outstanding request for translation selection/preference (issue 108). One reason I have not worked on it is I do not yet have a preference persistence solution.

The natural place to put that would be the UserService. I have not decided if it would be better to persist preferences in users.conf (any preference change would rewrite all users - could be a performance problem) or if preferences should be stored separately. If they are stored separately then I would consider using something like HSQLDB or more likely H2 to be able to discretely query and update a user's settings.

While undecided, if I implemented it today I would use H2 and a light-weight ORM layer to make persistence and retrieval cleaner. Naturally, my first choice for the ORM-ish layer is iciql, one of my other projects.

If you are interested in tackling user translation selection, I think we first need a generic preference store and the translation selection can be the first preference implemented.

gitblit added a commit that referenced this pull request Jul 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.