@transifex/native 3.2.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -2
- package/dist/browser.native.js +2 -8
- package/dist/browser.native.js.LICENSE.txt +6 -0
- package/dist/browser.native.js.map +1 -1
- package/dist/node.native.js +2 -8
- package/dist/node.native.js.LICENSE.txt +20 -0
- package/dist/node.native.js.map +1 -1
- package/package.json +18 -16
- package/webpack.browser.js +0 -16
- package/webpack.node.js +1 -18
package/README.md
CHANGED
|
@@ -1,15 +1,51 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://www.transifex.com">
|
|
3
|
+
<img src="https://raw.githubusercontent.com/transifex/transifex-javascript/master/media/transifex.png" height="60">
|
|
4
|
+
</a>
|
|
5
|
+
</p>
|
|
6
|
+
<p align="center">
|
|
7
|
+
<i>Transifex Native is a full end-to-end, cloud-based localization stack for moderns apps.</i>
|
|
8
|
+
</p>
|
|
9
|
+
<p align="center">
|
|
10
|
+
<img src="https://github.com/transifex/transifex-javascript/actions/workflows/npm-publish.yml/badge.svg">
|
|
11
|
+
<a href="https://www.npmjs.com/package/@transifex/native">
|
|
12
|
+
<img src="https://img.shields.io/npm/v/@transifex/native.svg">
|
|
13
|
+
</a>
|
|
14
|
+
<a href="https://developers.transifex.com/docs/native">
|
|
15
|
+
<img src="https://img.shields.io/badge/docs-transifex.com-blue">
|
|
16
|
+
</a>
|
|
17
|
+
</p>
|
|
18
|
+
|
|
19
|
+
# Transifex Native SDK: JavaScript i18n
|
|
2
20
|
|
|
3
21
|
A general purpose Javascript library for localizing web apps using [Transifex Native](https://www.transifex.com/native/).
|
|
4
22
|
|
|
5
23
|
Requires a Transifex Native Project Token.
|
|
6
24
|
|
|
7
|
-
Supported Node.js versions >= `
|
|
25
|
+
Supported Node.js versions >= `14.x.x`
|
|
8
26
|
|
|
9
27
|
Related packages:
|
|
10
28
|
* [@transifex/react](https://www.npmjs.com/package/@transifex/react)
|
|
11
29
|
* [@transifex/cli](https://www.npmjs.com/package/@transifex/cli)
|
|
12
30
|
|
|
31
|
+
Learn more about Transifex Native in the [Transifex Developer Hub](https://developers.transifex.com/docs/native).
|
|
32
|
+
|
|
33
|
+
# How it works
|
|
34
|
+
|
|
35
|
+
**Step1**: Create a Transifex Native project in [Transifex](https://www.transifex.com).
|
|
36
|
+
|
|
37
|
+
**Step2**: Grab credentials.
|
|
38
|
+
|
|
39
|
+
**Step3**: Internationalize the code using the SDK.
|
|
40
|
+
|
|
41
|
+
**Step4**: Push source phrases using the `@transifex/cli` tool.
|
|
42
|
+
|
|
43
|
+
**Step5**: Translate the app using over-the-air updates.
|
|
44
|
+
|
|
45
|
+
No translation files required.
|
|
46
|
+
|
|
47
|
+

|
|
48
|
+
|
|
13
49
|
# Upgrade to v2
|
|
14
50
|
|
|
15
51
|
If you are upgrading from the `1.x.x` version, please read this [migration guide](https://github.com/transifex/transifex-javascript/blob/HEAD/UPGRADE_TO_V2.md), as there are breaking changes in place.
|