NativeScript 国际化插件 NativeLang
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: Android
- 软件首页: https://github.com/alejonext/NativeLang
软件介绍
NativeLang 是 NativeScript 的国际化插件。
创建文件:
├── app <----------------- run npm install from here │ ├── App_Resources │ │ └── ... │ ├── tns_modules │ │ └── ... │ ├── app.css │ ├── app.js │ ├── main-page.js │ ├── main-page.xml │ ├── main-view-model.js │ ├── node_modules │ │ └── nativelang <-- The install will place the module's code here │ │ └── ... │ └── package.json <---- The install will register “nativelang" as a dependency here └── platforms ├── android │ └── res │ ├── values <---------- English │ | └── strings.xml │ ├── values-es <------- Spanish │ | └── strings.xml │ └── values-fr <------- Fransih │ └── strings.xml └── ios
文件:
<!-- platforms/android/res/values/strings.xml --> <?xml version="1.0" encoding="UTF-8"?> <resources> <string name="app_name" formatted="false">Example 1</string> <string name="other" formatted="false">Other</string> ... More strings </resources> <!-- platforms/android/res/values-es/strings.xml --> <?xml version="1.0" encoding="UTF-8"?> <resources> <string name="app_name" formatted="false">Ejemplo 1</string> <string name="other" formatted="false">Otro</string> ... Y mas cadenas </resources>
使用:
app/app.js
GLOBAL.L = require( "./node_modules/nativelang/lib" )();
xml
<Label text={{ L('other')}} />
大数据供应链
娜达·R·桑德斯 (Nada R. Sanders) / 丁晓松 / 中国人民大学出版社 / 2015-7-1 / CNY 55.00
第一本大数据供应链落地之道的权威著作,全球顶级供应链管理专家娜达·桑德斯博士聚焦传统供应链模式向大数据转型,助力工业4.0时代智能供应链构建。 在靠大数据驱动供应链处于领先地位的企业中,45% 是零售商,如沃尔玛、亚马逊,而22%是快消企业,如戴尔电脑。他们都前所未有地掌控了自己的供应链。在库存管理、订单履行率、原材料和产品交付上具有更为广阔的视野。利用具有预见性的大数据分析结果,可以使供需......一起来看看 《大数据供应链》 这本书的介绍吧!
