@localazy/strapi-plugin 0.1.3 → 0.1.6
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 +18 -9
- package/admin/src/pages/Download/index.js +1 -1
- package/admin/src/pages/Login/index.js +12 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,18 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
## The Official Strapi Localization Plugin by Localazy
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Strapi localization doesn't have to be a headache! Install the Strapi localization plugin and seamlessly translate your content into multiple languages with [Localazy](https://localazy.com).
|
|
4
4
|
|
|
5
|
-
Manage your multilingual content with ease.
|
|
5
|
+
### Manage your multilingual content with ease.
|
|
6
|
+
1. [Sign up](https://localazy.com/register?ref=strapi_marketplace) & Upload your content to Localazy.
|
|
7
|
+
2. Translate your content with machine translation assistance, or let the Localazy Continuous Localization Team translate your content for you. You can also quickly pre-translate everything in bulk or invite your translators.
|
|
8
|
+
3. Download translated content back to Strapi and feel the seamless experience of multilingual content management.
|
|
6
9
|
|
|
7
|
-
|
|
10
|
+
Learn more in the [Strapi + Localazy tutorial](https://localazy.com/blog/how-to-strapi-localization-with-localazy#getting-started-with-strapi-localization).
|
|
8
11
|
|
|
9
|
-
|
|
12
|
+
## Setup
|
|
10
13
|
|
|
11
14
|
### Install plugin via NPM
|
|
12
15
|
|
|
13
16
|
The plugin is available on [NPM](https://www.npmjs.com/package/@localazy/strapi-plugin).
|
|
14
17
|
You can also follow the installation commands located in your Strapi project Marketplace. This is the recommended approach.
|
|
15
18
|
|
|
19
|
+
```
|
|
20
|
+
npm install @localazy/strapi-plugin
|
|
21
|
+
```
|
|
22
|
+
|
|
16
23
|
### Use plugin in a clean project locally
|
|
17
24
|
|
|
18
25
|
Besides installing the plugin via `npm`, you can also use it in a project locally. Assuming you have a (clean) Strapi project set up, do:
|
|
@@ -33,13 +40,15 @@ module.exports = {
|
|
|
33
40
|
},
|
|
34
41
|
},
|
|
35
42
|
};
|
|
36
|
-
|
|
37
43
|
```
|
|
38
44
|
|
|
39
|
-
5. Run the project. Plugin will be available in the admin.
|
|
40
45
|
|
|
41
|
-
|
|
46
|
+
5. Run the project. The plugin will be available in the admin.
|
|
47
|
+
|
|
48
|
+
## Tests
|
|
42
49
|
|
|
43
50
|
To run tests, run `npm run test` command. To watch tests, run `npm run test:watch` command.
|
|
44
51
|
|
|
45
|
-
|
|
52
|
+
## Support
|
|
53
|
+
- If you encounter any issues or have questions, please contact us at [team@localazy.com](mailto:team@localazy.com).
|
|
54
|
+
- Join the [Localazy Discord](https://discord.gg/CAVhHrh) to discuss all things localization.
|
|
@@ -49,11 +49,21 @@ function Login(props) {
|
|
|
49
49
|
<HeaderLayout
|
|
50
50
|
title={props.title}
|
|
51
51
|
subtitle={props.subtitle}
|
|
52
|
-
as="
|
|
52
|
+
as="h1"
|
|
53
53
|
/>
|
|
54
54
|
{props.isLoading && (<Loader>{t("common.loading_content")}</Loader>)}
|
|
55
55
|
{!props.isLoading && (
|
|
56
|
-
<Box
|
|
56
|
+
<Box
|
|
57
|
+
marginLeft={10}
|
|
58
|
+
marginRight={10}
|
|
59
|
+
background="neutral0"
|
|
60
|
+
paddingTop={6}
|
|
61
|
+
paddingRight={7}
|
|
62
|
+
paddingBottom={6}
|
|
63
|
+
paddingLeft={7}
|
|
64
|
+
hasRadius
|
|
65
|
+
shadow="tableShadow"
|
|
66
|
+
>
|
|
57
67
|
<Box>
|
|
58
68
|
<Typography variant="epsilon" textColor="neutral600">
|
|
59
69
|
{t("common.localazy_plugin_description")}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@localazy/strapi-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "The official Strapi Plugin by Localazy.",
|
|
5
5
|
"strapi": {
|
|
6
6
|
"name": "localazy",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"jest": "^27.5.1"
|
|
53
53
|
},
|
|
54
54
|
"author": {
|
|
55
|
-
"name": "
|
|
56
|
-
"email": "
|
|
55
|
+
"name": "Localazy",
|
|
56
|
+
"email": "team@localazy.com",
|
|
57
57
|
"url": "https://localazy.com"
|
|
58
58
|
},
|
|
59
59
|
"maintainers": [
|