Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 947 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 947 Bytes

Generate pot file

$ ninja biz.zaxo.Markets-pot

Generate po files

$ ninja biz.zaxo.Markets-update-po

Test localization

$ LC_ALL=pl_PL.utf8 markets

Import translations from Weblate

  1. Create and activate the virutal enviorment for Python3.

  2. Install the Weblate command.

    pip install wlc
    
  3. Configure the Webplate command in ~/.config/weblate

  4. Commit all pending changes in Weblate and lock the translation component.

    wlc commit; wlc lock
    
  5. Add Weblate exported repository as a remote.

    git remote add weblate https://hosted.weblate.org/git/markets/markets/ ; git remote update weblate
    
  6. Merge Weblate changes and resolve any conflicts.

    git merge weblate/master
    
  7. Update ./po/LINGUAS if needed.

  8. Push changes into upstream repository.

    git push origin master
    
  9. Weblate should now be able to see updated repository and you can unlock it.

    wlc pull ; wlc unlock