Skip to content

Conversation

rougeth
Copy link
Collaborator

@rougeth rougeth commented Nov 3, 2018

All files from this PR were generated by the following command on the cpython repository:

$ sphinx-build -Q -b gettext -D gettext_compact=0 Doc pot/

I left all files untouched, the idea is that this PR is only the initial point of work. For the next PRs, if everything is right with this one, I will:

  • Add the base files of the other versions of Python (in different branch);
  • Merge the translations already made on Transifex;
  • Add tools to help keep the repository updated (Makefiles, ...);

I'm using as an example our friends from France (https://github.com/python/python-docs-fr).

@JulienPalard could you take a look here?

@JulienPalard
Copy link
Member

Hi @rougeth!

That's almost it. But pot files are "po tempates" files, not work files. The translation take place in .po files.

You just have to rename them (with a command like rename s/.pot/.po/ *.pot */*.pot).

pot files exists for the msgmerge command, msgmerge can merge an newer empty pot file with an older po file containing translations.

We're managing our po files using our make merge only here in France, it's enough for us (it creates the po files when needed, and merge when needed).

All .pot files were genereted by the following command on the cpython
repository:

sphinx-build -Q -b gettext -D gettext_compact=0 Doc pot/
@rougeth
Copy link
Collaborator Author

rougeth commented Nov 4, 2018

Hey @JulienPalard. My bad, I didn't pay attention on the file extension. Updated and merged.

Do you have admin access on the repository? If so, could you change the main branch to the 3.7?

Thanks!!

rougeth added a commit that referenced this pull request Nov 25, 2018
@rougeth rougeth deleted the init branch April 9, 2019 22:29
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