// Most of the rest is dependent upon this:
createConfigs(configDir, false);
+
+ // Proxy support
+ // TODO: include new nikiroo-utils version
+ // Proxy.use(Instance.getConfig().getString(Config.USE_PROXY));
// update tracer:
boolean debug = Instance.getConfig()
private static String getLang() {
String lang = config.getString(Config.LANG);
- if (System.getenv("LANG") != null && !System.getenv("LANG").isEmpty()) {
- lang = System.getenv("LANG");
+ if (lang == null | lang.isEmpty()) {
+ if (System.getenv("LANG") != null
+ && !System.getenv("LANG").isEmpty()) {
+ lang = System.getenv("LANG");
+ }
}
if (lang != null && lang.isEmpty()) {