/altv-javascript-guide

An alt:V JavaScript Guide built with VuePress

Primary LanguageVue

alt:V JavaScript Guide

Click to Open Documents

A set of documentation that will help you understand alt:V and writing JavaScript code for it.

It is not an API reference and is meant to teach some of the lingo and details about alt:V.

Unofficial alt:V Documentation Discord

Development / Testing

$ npm install
$ npm run dev

Creating Translations

We recommend that each individual file you update has its own commit.

This keeps the history for commits clean and easy to track backwards.

Creating a New Locale / Translation

It's a pretty short process but requires some work.

  1. Fork the Repository

  2. Copy en.js from src/.vuepress/locales/en.js.

  3. Rename it to your two letter ISO-639-1 Code.

  4. Edit the titles and translate them. Follow instructions in the copied code. We left comments for you.

  5. Copy the folder en from the src directory.

  6. Rename it to your ISO-639-1 Code for your Country / Language.

  7. Begin converting documents from English to your language.

  8. Test locally! It's very important!

  9. Make a pull request.