Skip to content

Instantly share code, notes, and snippets.

@MaxMorais
Last active December 25, 2015 13:58
Show Gist options
  • Save MaxMorais/6987123 to your computer and use it in GitHub Desktop.
Save MaxMorais/6987123 to your computer and use it in GitHub Desktop.

The ERPNEXT translation process for beginners.

If you want contribute with ERPNext translations you must take these steps

  1. Get the latest updates
  • Goto Setup => Update ERNext and Click on Get Latest Updates
  1. Build the message files
  • Open the shell
  • Goto ERPNext install folder eg: cd /var/www-data/erp
  • Run this command on shell: ./lib/wnf.py --build-message-files
  • Export you message lang_file: `eg: ./lib/wnf.py --export_message=en-US ~/erpnext_transation_en-US.csv
  1. Edit the file with the text editor that you prefer
  2. Import the message file
  • On the ERPNext install folder run this command: ./lib/wnf.py --import-message=en-US ~/erpnext_translation_en-US.csv
  1. Contribute with the community
  • Open a new Issue on github and send you translation file, to another peoples in the world

What your need to know

Some texts are marked

Often you will find markings in a sentence, which will seem strange, and will cause the phrase does not have a complete sense, something like:

  1. <b>Didn't Save</b>
  • It's is a HTML (Hipertext Marckup Language) marking, it's allow a good presentation of you text.
  1. **Didn't Save**
  • It's is a Markdown marking, it's as HTML, but is reduced and focused only in text writing texts.
  1. Didn't Save the Doctype %s
  • It's is a Python interpolation marking, is usually used to define a single point in the text to receive dynamic content and changeable.
  1. Didn't %(action)s the Doctype %(docname)s
  • It's is a Python formatation string marking, is usually used to define many points in the text to receive dynamic context and cangeable, all dynamic sections are always named. The section name is shown in brackets ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment