Skip to content
Snippets Groups Projects
Commit 2ae9a850 authored by Saša Živkov's avatar Saša Živkov
Browse files

Provide NLS support in JGit.


The support for NLS relies on java.util API to load a standard
ResourceBundle and then uses java reflection API to inject localized
strings into public String fields of the corresponding instance
of TranslationBundle.

Locale setting is supported per thread to enable concurrent threads
to use different locales. This is useful when JGit runs in a server
context where (error) messages might need to differ per-request to
suit the user's preference.

Change-Id: Ie0e63a0d7bb74eaad495dbe8248595d8a3a76883
Signed-off-by: default avatarSasa Zivkov <sasa.zivkov@sap.com>
parent 4aa7c5a9
No related branches found
No related tags found
No related merge requests found
Showing
with 1125 additions and 1 deletion
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment