navigator.language
! I ended up having to modify the libchromiumcontent.dylib bundled inside Atom.app
...
$ cmp -bl {orig,ja-JP}/Atom.app/Contents/Frameworks/Atom\ Framework.framework/Versions/A/Libraries/libchromiumcontent.dylib
43700712 145 e 152 j
43700713 156 n 141 a
43700715 125 U 112 J
43700716 123 S 120 P
This is the value that is used for navigator.language
. Once patched as above, navigator.language
will return "ja-JP"
.