summaryrefslogtreecommitdiff
path: root/src/json
diff options
context:
space:
mode:
Diffstat (limited to 'src/json')
-rw-r--r--src/json/json_helper.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
index f3070588..2a9b01a7 100644
--- a/src/json/json_helper.c
+++ b/src/json/json_helper.c
@@ -493,4 +493,14 @@ TALER_JSON_spec_i18n_string (const char *name,
}
+struct GNUNET_JSON_Specification
+TALER_JSON_spec_i18n_str (const char *name,
+ const char **strptr)
+{
+ return TALER_JSON_spec_i18n_string (name,
+ getenv ("LANG"),
+ strptr);
+}
+
+
/* end of json/json_helper.c */