push!(LOAD_PATH, realpath("..")) using I18N @translations it en # Custom function used to get the program language. # Must return a 2-char language code req = Dict(:params => Dict(:lang => "it")) @inline function I18N.language() req[:params][:lang] end @translate "it" "first" "primo" @translate "it" "third" "terzo" include("numbers.jl") include("hello.jl") @translate "it" "hello" "ciao" @translator "it" "Nicolò Balzarotti" "nicolo@nixo.xyz" "2020" @write_po_files "Test" "0.0.0-dev" ["Nicolò Balzarotti "] "2020"