comparison 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
comparison
equal deleted inserted replaced
14122:f1a54da4fb79 14123:583bf95b6c84
47 47
48 We will use "xx.po" as an example here, replace "xx" with the name of your 48 We will use "xx.po" as an example here, replace "xx" with the name of your
49 language. 49 language.
50 50
51 - Edit Makefile to add xx to LANGUAGES and xx.mo to MOFILES. 51 - Edit Makefile to add xx to LANGUAGES and xx.mo to MOFILES.
52 - Copy the header of an existing file, e.g., de.po, to xx.po. Do not copy any 52 - If you haven't done so already, run ./configure in the top vim directory
53 of the translated messages, delete everything after the "msgstr". 53 (i.e. go up two directories) and then come back here afterwards.
54 - Execute these commands:
55 % make vim.pot
56 % msginit -l xx
57 % rm vim.pot
58 The first command will generate a vim.pot file which is used by msginit to
59 generate a correct xx.po file. After that vim.pot is not needed.
54 - The remaining work is like updating, see the next section. 60 - The remaining work is like updating, see the next section.
55 61
56 62
57 UPDATING A PO FILE 63 UPDATING A PO FILE
58 64