ab-translate
Advanced tools
Comparing version 1.1.60 to 1.1.61
{ | ||
"private": false, | ||
"name": "ab-translate", | ||
"version": "1.1.60", | ||
"version": "1.1.61", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Yair Haimovitch", |
@@ -38,2 +38,6 @@ # ab-translate | ||
``` | ||
5. In case Universal project is used with SSR, the change needs to be on the `middleware-i18n.js` **instead**, see example [here](https://github.com/wix-private/photography/blob/master/logo-builder/logo-builder-universal/src/i18n/middleware-i18n.js) | ||
### Wix Grunt (old stack) | ||
@@ -79,8 +83,10 @@ 1. Install the package `bower install ab-translate --save` | ||
![Add Alternatives](docs/4.babel.add.variations.png) | ||
6. Click the `Set` button. A 🔀 sign should appear next to your key. | ||
7. Verify your changes and click the `Commit` button. | ||
6. Choose a Spec name. (e.g,**mySpec** will become **specs.abTranslate.<my-projects-translation-scope>.abSpec-mySpec**) - | ||
`my-projects-translation-scope` is the one defined in `package.json` -> `yoshi` -> `petriScopes` (or artifact id by default). | ||
7. Click the `Set` button. A 🔀 sign should appear next to your key. | ||
8. Verify your changes and click the `Commit` button. | ||
![Commit Changes](docs/5.babel.commit.changes.png) | ||
8. The changes will be pushed to github and a new build will be triggered. The new AB test will be detected and will be created. | ||
9. In the **Next GA** of the project you'll be able to see the spec in [Guineapig](https://guineapig.wix.com/home). The spec name will be in the format `specs.abTranslate.<scope>.<key>`. | ||
10. Create an experiment and use [Petri Sidekick](https://chrome.google.com/webstore/detail/wix-petri-sidekick/hpdjckcenihbjfmaccadiaighajcjope) to verify the variations! | ||
9. The changes will be pushed to github and a new build will be triggered. The new AB test will be detected and will be created. | ||
10. In the **Next GA** of the project you'll be able to see the spec in [Guineapig](https://guineapig.wix.com/home). The spec name will be in the format `specs.abTranslate.<scope>.<key>`. | ||
11. Create an experiment and use [Petri Sidekick](https://chrome.google.com/webstore/detail/wix-petri-sidekick/hpdjckcenihbjfmaccadiaighajcjope) to verify the variations! | ||
@@ -87,0 +93,0 @@ **Note1:** When creating the experiment verify that you open it only for the languages where the keys were updated |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2701654
107