With Hidenori Takeshima's nls file removed. I dug up an old NLS file for codepage 932 (SJIS) that I put together for an old project and am submitting it as a patch. This was created by consulting Microsofts Internationalization toolkit and consulting Japanese Windows programmers. -aric
Index: dlls/kernel/nls/jpn.nls =================================================================== RCS file: /home/wine/wine/dlls/kernel/nls/jpn.nls,v retrieving revision 1.4 diff -u -w -r1.4 jpn.nls --- dlls/kernel/nls/jpn.nls 5 May 2002 19:40:58 -0000 1.4 +++ dlls/kernel/nls/jpn.nls 13 May 2002 04:03:21 -0000 @@ -1,9 +1,11 @@ /* * OLE2NLS library - * Japanese - * (Japanese strings in EUC-JP) + * ja (JP) + * + * Values for codepage 932(Shift-JIS) * * Copyright 1998 Marcel Baur + * Updated 2002 for Shift-JIS * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -21,110 +23,113 @@ */ LOCVAL(LOCALE_ILANGUAGE,"0411") -LOCVAL(LOCALE_SLANGUAGE,"日本語") +LOCVAL(LOCALE_SLANGUAGE, "Japanese") LOCVAL(LOCALE_SENGLANGUAGE,"Japanese") -LOCVAL(LOCALE_SABBREVLANGNAME,"jpn") -LOCVAL(LOCALE_SNATIVELANGNAME,"日本語") +LOCVAL(LOCALE_SABBREVLANGNAME, "JPN") +LOCVAL(LOCALE_SNATIVELANGNAME, "{") LOCVAL(LOCALE_ICOUNTRY,"81") -LOCVAL(LOCALE_SCOUNTRY,"日本") +LOCVAL(LOCALE_SCOUNTRY, "Japan") LOCVAL(LOCALE_SENGCOUNTRY,"Japan") LOCVAL(LOCALE_SABBREVCTRYNAME,"JPN") -LOCVAL(LOCALE_SNATIVECTRYNAME,"日本") +LOCVAL(LOCALE_SNATIVECTRYNAME, "{") LOCVAL(LOCALE_IDEFAULTLANGUAGE,"0411") LOCVAL(LOCALE_IDEFAULTCOUNTRY,"81") -/* LOCVAL(LOCALE_IDEFAULTCODEPAGE) */ -/* LOCVAL(LOCALE_IDEFAULTANSICODEPAGE) */ -/* LOCVAL(LOCALE_SLIST,"") */ -/* LOCVAL(LOCALE_IMEASURE,"") */ -/* LOCVAL(LOCALE_SDECIMAL,"") */ -/* LOCVAL(LOCALE_STHOUSAND,"") */ +LOCVAL(LOCALE_IDEFAULTCODEPAGE, "932") +LOCVAL(LOCALE_IDEFAULTANSICODEPAGE, "932") +LOCVAL(LOCALE_IDEFAULTMACCODEPAGE, "10001") +LOCVAL(LOCALE_SLIST, ",") +LOCVAL(LOCALE_IMEASURE, "0") +LOCVAL(LOCALE_SDECIMAL, ".") +LOCVAL(LOCALE_STHOUSAND, ",") LOCVAL(LOCALE_SGROUPING,"3;0") -/* LOCVAL(LOCALE_IDIGITS,"2") */ -/* LOCVAL(LOCALE_ILZERO,"1") */ -/* LOCVAL(LOCALE_INEGNUMBER) */ +LOCVAL(LOCALE_IDIGITS, "2") +LOCVAL(LOCALE_ILZERO, "1") +LOCVAL(LOCALE_INEGNUMBER, "1") LOCVAL(LOCALE_SNATIVEDIGITS,"0123456789") -LOCVAL(LOCALE_SCURRENCY,"円") +LOCVAL(LOCALE_SCURRENCY, "\\") LOCVAL(LOCALE_SINTLSYMBOL, "JPY") -/* LOCVAL(LOCALE_SMONDECIMALSEP,",") */ -/* LOCVAL(LOCALE_SMONTHOUSANDSEP,".") */ -/* LOCVAL(LOCALE_SMONGROUPING) */ -/* LOCVAL(LOCALE_ICURRDIGITS,"2") */ -/* LOCVAL(LOCALE_IINTLCURRDIGITS) */ -/* LOCVAL(LOCALE_ICURRENCY,"3") */ -/* LOCVAL(LOCALE_INEGCURR,"8") */ -/* LOCVAL(LOCALE_SDATE,".") */ -/* LOCVAL(LOCALE_STIME,":") */ -LOCVAL(LOCALE_SSHORTDATE,"yyyy.MM.dd") -LOCVAL(LOCALE_SLONGDATE,"yyyy年MMMMd.日のddd") -/* LOCVAL(LOCALE_STIMEFORMAT) */ -/* LOCVAL(LOCALE_IDATE,"1") */ -/* LOCVAL(LOCALE_ILDATE) */ +LOCVAL(LOCALE_SMONDECIMALSEP, ".") +LOCVAL(LOCALE_SMONTHOUSANDSEP, ",") +LOCVAL(LOCALE_SMONGROUPING, "3;0") +LOCVAL(LOCALE_ICURRDIGITS, "0") +LOCVAL(LOCALE_IINTLCURRDIGITS, "2") +LOCVAL(LOCALE_ICURRENCY, "0") +LOCVAL(LOCALE_INEGCURR, "1") +LOCVAL(LOCALE_SDATE, "/") +LOCVAL(LOCALE_STIME, ":") +LOCVAL(LOCALE_SSHORTDATE, "yyyy/MM/dd") +LOCVAL(LOCALE_SLONGDATE, "yyyy'N'M''d''") +LOCVAL(LOCALE_STIMEFORMAT, "H:mm:ss") +LOCVAL(LOCALE_IDATE, "2") +LOCVAL(LOCALE_ILDATE, "2") LOCVAL(LOCALE_ITIME,"1") -/* LOCVAL(LOCALE_ITIMEMARKPOSN) */ -/* LOCVAL(LOCALE_ICENTURY) */ -LOCVAL(LOCALE_ITLZERO,"1") -/* LOCVAL(LOCALE_IDAYLZERO) */ -/* LOCVAL(LOCALE_IMONLZERO) */ -/* LOCVAL(LOCALE_S1159, "") */ -/* LOCVAL(LOCALE_S2359, "") */ +LOCVAL(LOCALE_ITIMEMARKPOSN, "0") +LOCVAL(LOCALE_ICENTURY, "1") +LOCVAL(LOCALE_ITLZERO, "0") +LOCVAL(LOCALE_IDAYLZERO, "1") +LOCVAL(LOCALE_IMONLZERO, "1") +LOCVAL(LOCALE_S1159, "O") +LOCVAL(LOCALE_S2359, "") LOCVAL(LOCALE_ICALENDARTYPE, "1") -/* LOCVAL(LOCALE_IOPTIONALCALENDAR) */ -/* LOCVAL(LOCALE_IFIRSTDAYOFWEEK) */ -/* LOCVAL(LOCALE_IFIRSTWEEKOFYEAR) */ - -LOCVAL(LOCALE_SDAYNAME1,"月曜日") -LOCVAL(LOCALE_SDAYNAME2,"火曜日") -LOCVAL(LOCALE_SDAYNAME3,"水曜日") -LOCVAL(LOCALE_SDAYNAME4,"木曜日") -LOCVAL(LOCALE_SDAYNAME5,"金曜日") -LOCVAL(LOCALE_SDAYNAME6,"土曜日") -LOCVAL(LOCALE_SDAYNAME7,"日曜日") - -LOCVAL(LOCALE_SABBREVDAYNAME1,"月") -LOCVAL(LOCALE_SABBREVDAYNAME2,"火") -LOCVAL(LOCALE_SABBREVDAYNAME3,"水") -LOCVAL(LOCALE_SABBREVDAYNAME4,"木") -LOCVAL(LOCALE_SABBREVDAYNAME5,"金") -LOCVAL(LOCALE_SABBREVDAYNAME6,"土") -LOCVAL(LOCALE_SABBREVDAYNAME7,"日") - -LOCVAL(LOCALE_SMONTHNAME1,"一月") -LOCVAL(LOCALE_SMONTHNAME2,"二月") -LOCVAL(LOCALE_SMONTHNAME3,"三月") -LOCVAL(LOCALE_SMONTHNAME4,"四月") -LOCVAL(LOCALE_SMONTHNAME5,"五月") -LOCVAL(LOCALE_SMONTHNAME6,"六月") -LOCVAL(LOCALE_SMONTHNAME7,"七月") -LOCVAL(LOCALE_SMONTHNAME8,"八月") -LOCVAL(LOCALE_SMONTHNAME9,"九月") -LOCVAL(LOCALE_SMONTHNAME10,"十月") -LOCVAL(LOCALE_SMONTHNAME11,"十一月") -LOCVAL(LOCALE_SMONTHNAME12,"十二月") -/* LOCVAL(LOCALE_SMONTHNAME13,"") */ - -LOCVAL(LOCALE_SABBREVMONTHNAME1,"1月") -LOCVAL(LOCALE_SABBREVMONTHNAME2,"2月") -LOCVAL(LOCALE_SABBREVMONTHNAME3,"3月") -LOCVAL(LOCALE_SABBREVMONTHNAME4,"4月") -LOCVAL(LOCALE_SABBREVMONTHNAME5,"5月") -LOCVAL(LOCALE_SABBREVMONTHNAME6,"6月") -LOCVAL(LOCALE_SABBREVMONTHNAME7,"7月") -LOCVAL(LOCALE_SABBREVMONTHNAME8,"8月") -LOCVAL(LOCALE_SABBREVMONTHNAME9,"9月") -LOCVAL(LOCALE_SABBREVMONTHNAME10,"10月") -LOCVAL(LOCALE_SABBREVMONTHNAME11,"11月") -LOCVAL(LOCALE_SABBREVMONTHNAME12,"12月") -/* LOCVAL(LOCALE_SABBREVMONTHNAME13,"") */ - -/* LOCVAL(LOCALE_SPOSITIVESIGN, "") */ -/* LOCVAL(LOCALE_SNEGATIVESIGN, "") */ -/* LOCVAL(LOCALE_IPOSSIGNPOSN, "") */ -/* LOCVAL(LOCALE_INEGSIGNPOSN, "") */ -/* LOCVAL(LOCALE_IPOSSYMPRECEDES, "") */ -/* LOCVAL(LOCALE_IPOSSEPBYSPACE, "") */ -/* LOCVAL(LOCALE_INEGSYMPRECEDES, "") */ -/* LOCVAL(LOCALE_INEGSEPBYSPACE, "") */ -/* LOCVAL(LOCALE_FONTSIGNATURE, "") */ +LOCVAL(LOCALE_IOPTIONALCALENDAR, "3") +LOCVAL(LOCALE_IFIRSTDAYOFWEEK, "6") +LOCVAL(LOCALE_IFIRSTWEEKOFYEAR, "0") +LOCVAL(LOCALE_SDAYNAME1, "j") +LOCVAL(LOCALE_SDAYNAME2, "j") +LOCVAL(LOCALE_SDAYNAME3, "j") +LOCVAL(LOCALE_SDAYNAME4, "j") +LOCVAL(LOCALE_SDAYNAME5, "j") +LOCVAL(LOCALE_SDAYNAME6, "yj") +LOCVAL(LOCALE_SDAYNAME7, "j") +LOCVAL(LOCALE_SABBREVDAYNAME1, "") +LOCVAL(LOCALE_SABBREVDAYNAME2, "") +LOCVAL(LOCALE_SABBREVDAYNAME3, "") +LOCVAL(LOCALE_SABBREVDAYNAME4, "") +LOCVAL(LOCALE_SABBREVDAYNAME5, "") +LOCVAL(LOCALE_SABBREVDAYNAME6, "y") +LOCVAL(LOCALE_SABBREVDAYNAME7, "") +LOCVAL(LOCALE_SMONTHNAME1, "1") +LOCVAL(LOCALE_SMONTHNAME2, "2") +LOCVAL(LOCALE_SMONTHNAME3, "3") +LOCVAL(LOCALE_SMONTHNAME4, "4") +LOCVAL(LOCALE_SMONTHNAME5, "5") +LOCVAL(LOCALE_SMONTHNAME6, "6") +LOCVAL(LOCALE_SMONTHNAME7, "7") +LOCVAL(LOCALE_SMONTHNAME8, "8") +LOCVAL(LOCALE_SMONTHNAME9, "9") +LOCVAL(LOCALE_SMONTHNAME10, "10") +LOCVAL(LOCALE_SMONTHNAME11, "11") +LOCVAL(LOCALE_SMONTHNAME12, "12") +LOCVAL(LOCALE_SMONTHNAME13, "") +LOCVAL(LOCALE_SABBREVMONTHNAME1, "1") +LOCVAL(LOCALE_SABBREVMONTHNAME2, "2") +LOCVAL(LOCALE_SABBREVMONTHNAME3, "3") +LOCVAL(LOCALE_SABBREVMONTHNAME4, "4") +LOCVAL(LOCALE_SABBREVMONTHNAME5, "5") +LOCVAL(LOCALE_SABBREVMONTHNAME6, "6") +LOCVAL(LOCALE_SABBREVMONTHNAME7, "7") +LOCVAL(LOCALE_SABBREVMONTHNAME8, "8") +LOCVAL(LOCALE_SABBREVMONTHNAME9, "9") +LOCVAL(LOCALE_SABBREVMONTHNAME10, "10") +LOCVAL(LOCALE_SABBREVMONTHNAME11, "11") +LOCVAL(LOCALE_SABBREVMONTHNAME12, "12") +LOCVAL(LOCALE_SABBREVMONTHNAME13, "") +LOCVAL(LOCALE_SPOSITIVESIGN, "") +LOCVAL(LOCALE_SNEGATIVESIGN, "-") +LOCVAL(LOCALE_IPOSSIGNPOSN, "3") +LOCVAL(LOCALE_INEGSIGNPOSN, "3") +LOCVAL(LOCALE_IPOSSYMPRECEDES, "1") +LOCVAL(LOCALE_IPOSSEPBYSPACE, "0") +LOCVAL(LOCALE_INEGSYMPRECEDES, "1") +LOCVAL(LOCALE_INEGSEPBYSPACE, "0") +LOCVAL(LOCALE_FONTSIGNATURE, "\x83\x02\x00\x80\xf8\x6c\xc7\x38\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00") LOCVAL(LOCALE_SISO639LANGNAME,"ja") LOCVAL(LOCALE_SISO3166CTRYNAME,"JP") - +LOCVAL(LOCALE_SCHARSETNAMES, "SJIS") +LOCVAL(LOCALE_IDEFAULTEBCDICCODEPAGE, "20290") +LOCVAL(LOCALE_IPAPERSIZE, "9") +LOCVAL(LOCALE_SENGCURRNAME, "Japanese Yen") +LOCVAL(LOCALE_SNATIVECURRNAME, "~") +LOCVAL(LOCALE_SYEARMONTH, "yyyy'N'M''") +LOCVAL(LOCALE_SSORTNAME, "XJIS") +LOCVAL(LOCALE_IDIGITSUBSTITUTION, "1")