Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs translation changes for central server #3480

Merged
merged 13 commits into from
Apr 8, 2015

Conversation

MCGallaspy
Copy link
Contributor

What's inside:

  • Add a command line option to the screenshots management command to set the language for the session when taking screenshots. Note: the language pack must be downloaded already for this to work.
  • Update the sphinx-docs screenshot directive to use recommended kalitectl.py now that manage.py has been deprecated and removed.
  • Fix a bug in kalitectl.py when KALITE_DIR is not set to include appropriate directories in the python path.
  • Update the README in sphinx-docs to add notes about building translated docs.

These changes are needed for the update_pot management command to run successfully on the central server. See here.

@aronasorman
Copy link
Collaborator

I get this error when trying to run sphinx-intl update -p _build/locale -l xx on my virtualenv:

a

I guess this doesn't work for python 2.6? Which is okay, but it might be good to add that to your instructions.

@aronasorman
Copy link
Collaborator

I did a pip install ordereddict and it's working now. Please add that to your requirements.txt.

@aronasorman
Copy link
Collaborator

Oh, if this needs to be in central-develop, then we can cherry-pick the changes in here after we merge this.

@MCGallaspy MCGallaspy mentioned this pull request Apr 7, 2015
aronasorman added a commit that referenced this pull request Apr 8, 2015
Docs translation changes for central server
@aronasorman aronasorman merged commit 08eff78 into learningequality:develop Apr 8, 2015
@aronasorman aronasorman removed the has PR label Apr 8, 2015
@aronasorman aronasorman deleted the ss-translation branch April 8, 2015 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants