Skip to content

OpenEdition/tei.openedition.localized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TEI OpenEdition - localized documentation

This repository contains localized documentation for OpenEdition TEI documentation. It is based on master document placed in tei.openedition repository.

How to initialize

After 1st git clone, submodule nedd to be initialized

git submodule init
git submodule update

How to update translations after source update

  1. Update main documentation, pot and po
# Update the submodule (main documentation repo)
git submodule update --recursive --remote
# when a source rst file is added, modified or deleted, update symbolic links in docs/en
# Following commands are executed from 'docs' directory
cd docs
# Build html
# make html
# Build gettext (create .pot)
sphinx-build -b gettext en _build/gettext
# Build po english files
sphinx-intl update -p _build/gettext -l en_US
  1. Edit and update .po files (poedit)
  2. Build html with english translation (for local preview)
sphinx-build -b html -D language=en_US -v en _build/html
  1. git add commit and push to update the remote repo and the readthedocs documentation

About

Translations of OpenEdition TEI documentation

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •