diff --git a/init.lua b/init.lua index 21d4e02..e73f034 100644 --- a/init.lua +++ b/init.lua @@ -18,6 +18,8 @@ if not (LANG and (LANG ~= "")) then LANG = os.getenv("LANG") end if not (LANG and (LANG ~= "")) then LANG = "en" end LANG = LANG:sub(1, 2) +if PLATFORM ~= "Windows" and LANG == "ja" then LANG = "ja_utf8" end + local INS_CHAR = intllib.INSERTION_CHAR local insertion_pattern = "("..INS_CHAR.."?)"..INS_CHAR.."(%(?)(%d+)(%)?)"