Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ab-translate

Package Overview
Dependencies
Maintainers
1
Versions
600
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ab-translate - npm Package Compare versions

Comparing version 1.1.60 to 1.1.61

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc