-
Clone the repository
$ git clone https://github.com/tabwrangler/tabwrangler
-
Install all dependencies (install Yarn first if you don't yet have it)
$ yarn install
-
Build, output, and watch the contents to
dist/chrome/
$ yarn watch
-
Open the Extensions page in Chrome via Window > Extensions
-
Check the "Developer mode" checkbox in upper right
-
Click the "Load unpacked extension..." button and select the
dist/chrome/
directory created in step 3.
-
Clone the repository
$ git clone https://github.com/tabwrangler/tabwrangler
-
Install all dependencies (install Yarn first if you don't yet have it)
$ yarn install
-
Build, output, and watch the contents to
dist/firefox/
$ yarn watch
-
Open the Add-ons page in Firefox via Tools > Add-ons
-
Open the cog wheel dropdown and select Debug Add-ons
-
Click the "Load Temporary Add-on" button and select the
dist/firefox/manifest.json
file created in step 3.
-
Create a .zip to upload to the Chrome Store and Firefox AMO with the
release
task$ yarn release
- Follow the instructions for Developing the Tab Wrangler extension
- Find or create the appropriate "messages.json" file
- For a new locale, create a new directory in the "_locales" directory with the locale code. Ensure the new locale is one of the locales supported by Chrome. Copy "_locales/en/messages.json" to the new directory and begin editing.
- For an existing locale, edit the "messages.json" file in the appropriate locale's directory
- Edit each
"message"
field in the file with your translation- Optional: You may also translate the
"description"
so the next person to view the translations has a better description. This is not required.
- Optional: You may also translate the
- Build and install the extension locally to ensure the translations work as expected.
Note: For further details on Chrome extension i18n, check out the Chrome extension documentation on i18n messages.
Making Tab Wrangler available in languages other than English is possible due to generous contributors. If you'd like to contribute and be mentioned in the "Translators" section of the README, please follow the instructions above and create a pull request with your updates.