diff src/po/README.txt @ 14123:583bf95b6c84

Update runtime files. commit https://github.com/vim/vim/commit/d2f3a8b8787333abf2300d38836b196955f10c00 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 19 14:35:59 2018 +0200 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Jun 2018 14:45:08 +0200
parents 4f7081eb1e26
children dc766e1b0c95
line wrap: on
line diff
--- a/src/po/README.txt
+++ b/src/po/README.txt
@@ -49,8 +49,14 @@ We will use "xx.po" as an example here, 
 language.
 
 - Edit Makefile to add xx to LANGUAGES and xx.mo to MOFILES.
-- Copy the header of an existing file, e.g., de.po, to xx.po.  Do not copy any
-  of the translated messages, delete everything after the "msgstr".
+- If you haven't done so already, run ./configure in the top vim directory
+  (i.e. go up two directories) and then come back here afterwards.
+- Execute these commands:
+  % make vim.pot
+  % msginit -l xx
+  % rm vim.pot
+  The first command will generate a vim.pot file which is used by msginit to
+  generate a correct xx.po file.  After that vim.pot is not needed.
 - The remaining work is like updating, see the next section.