Nw.js: language always 'en_US' . why?

Created on 9 Nov 2016  路  7Comments  路  Source: nwjs/nw.js

  • os : osx
  • nw : 0.18.5

im using 'nw-builder' for build app

my build app start,

always language 'en_US' but developr mode is 'ko_kR'

how can fix it?

Most helpful comment

if you use nw-builder, you can set options like this

macPlist: { CFBundleDevelopmentRegion: "ko", CFBundleDisplayName: "appName", CFBundleShortVersionString: "0.0.1", CFBundleName: "appName", NSHumanReadableCopyright: "appName Copyright漏2016, xxx" }

All 7 comments

+1 There is no better way to solve it

really?
I saw it on another issue.
Move the locale folder.
isnt'it?
if you say yes, where is locale folder?

you can download the SDK version and find language pack

i always used sdk version
/nwjs-sdk-v0.18.5-osx-x64/nwjs.app/Contents/Resources**
and i find it below

but not working

i did find for fix it

nwjs-sdk-v0.18.5-osx-x64/xxx.app/Contents/Info.plist

open Info.plist file
and find

    <key>CFBundleDevelopmentRegion</key>
    <string>ko</string> <-- change language prefix

right?

yes

if you use nw-builder, you can set options like this

macPlist: { CFBundleDevelopmentRegion: "ko", CFBundleDisplayName: "appName", CFBundleShortVersionString: "0.0.1", CFBundleName: "appName", NSHumanReadableCopyright: "appName Copyright漏2016, xxx" }

Was this page helpful?
0 / 5 - 0 ratings