Revision dad96fb5233638adc567dd7f776c6a8952f2038d authored by Andreas Noack on 30 December 2017, 05:49:46 UTC, committed by GitHub on 30 December 2017, 05:49:46 UTC
1 parent 3bcc952
i18n.jl
# This file is a part of Julia. License is MIT: https://julialang.org/license
module I18n
export locale
LOCALE = nothing
CALLBACKS = Function[]
function locale()
if LOCALE === nothing
# XXX:TBD return default locale
return ""
end
LOCALE
end
function locale(s::String)
global LOCALE = s
# XXX:TBD call setlocale
for cb in CALLBACKS
cb()
end
end
end # module
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...