Vim Tips Wiki
No edit summary
 
(Remove html character entities)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  +
{{dodgy|This information if for an old version of vim, I also don't find it particularly helpful.}}
  +
  +
__NOTOC__
 
{{review}}
 
{{review}}
  +
{{TipImported
{{Tip
 
 
|id=543
 
|id=543
  +
|previous=542
|title=vim.po - Internationalizing the Vim editor
 
  +
|next=545
|created=August 27, 2003 12:22
+
|created=August 27, 2003
 
|complexity=basic
 
|complexity=basic
 
|author=Vangelis E.
 
|author=Vangelis E.
 
|version=5.7
 
|version=5.7
 
|rating=0/2
 
|rating=0/2
  +
|category1=I18n
|text=
 
  +
|category2=
vim.po - Internationalizing the Vim editor
 
 
}}
 
  +
For a given vim-###-src#.tar.gz release there is only one vim.po file that can be created for translation purposes. However, this vim.po is not unique since several options may be set while extracting with 'xgettext', depending mostly on the format of comments. For your convenience you can download a standard vim.pot to use as a translation template for vim-6.1 to most any language(s):
+++++++++++++++++++++++++++++++++++++++++++
 
 
 
 
For a given vim-###-src#.tar.gz release there is only one
 
 
vim.po file that can be created for translation purposes.
 
 
However, this vim.po is not unique since several options may
 
 
be set while extracting with `xgettext', depending mostly on
 
 
the format of comments. For your convenience you can download
 
 
a standard vim.pot to use as a translation template for
 
 
vim-6.1 to most any language(s):
 
 
 
   
 
http://lynxx.org/misc/download/vim-6.1-pot.tgz
 
http://lynxx.org/misc/download/vim-6.1-pot.tgz
   
 
This is the general template for translating messages in Vim 6.1 using the Xgettext format. It contains all English messages in the (untranslated) form:
   
 
msgid "ABC" - English text
 
msgstr "" - candidate language
   
  +
To translate Vim 6.1 messages, proceed line-by-line, taking care not to translate commands and options specific to the editor. See the GNU 'gettext' man-page for more info and details on this.
This is the general template for translating messages in Vim 6.1
 
   
 
This vim.pot should be used only with v. 6.1 to translate to any language.
using the Xgettext format. It contains all English messages in
 
 
the (untranslated) form:
 
 
 
 
msgid "ABC" - English text
 
 
msgstr "" - canditate language
 
 
 
 
To translate Vim 6.1 messages, proceed line-by-line, taking
 
 
care not to translate commands and options specific to the
 
 
editor. See the GNU `gettext' man-page for more info and
 
 
details on this.
 
 
 
 
This vim.pot should be used only with v. 6.1 to translate to
 
 
any language.
 
 
 
 
When Vim versions advance, a standard vim.po must be created
 
 
from the newer sources, as delineated in the next VimTip "Vim
 
 
goes INTL - Translating Vim Editor Messages, Menus, and
 
 
Encodings' (VimTip#).
 
 
 
 
You may also want to download a complete set in Greek to use as
 
 
an example of full support for a specific language:
 
 
 
 
 
 
http://lynxx.org/misc/download/vim-6.1-menu_el.zip
 
 
http://lynxx.org/misc/download/vim-6.1-menu_el.tgz
 
 
 
 
Happy Intl-ing!
 
 
 
 
Vangelis Eustratius
 
 
vangelise@lynxx.org
 
}}
 
   
 
When Vim versions advance, a standard vim.po must be created from the newer sources, as explained in [[VimTip546|Vim goes INTL]].
== Comments ==
 
Dear Sir/Madam,
 
I need a straighter explaination of how to read files which use Latin American characrters.
 
   
  +
===See also===
Thanks,
 
  +
*[[VimTip546|Vim goes INTL]]
Juan (phpx2pperl)
 
  +
*[[VimTip545|Vim goes Greek]]
Pleace CC Juan.McClore--AT--cstm.net
 
 
   
 
==Comments==
jmcclore--AT--oden.com
 
, February 13, 2006 8:42
 
----
 
<!-- parsed by vimtips.py in 0.522162 seconds-->
 

Latest revision as of 08:54, 29 September 2008


Tip 543 Printable Monobook Previous Next

created August 27, 2003 · complexity basic · author Vangelis E. · version 5.7


For a given vim-###-src#.tar.gz release there is only one vim.po file that can be created for translation purposes. However, this vim.po is not unique since several options may be set while extracting with 'xgettext', depending mostly on the format of comments. For your convenience you can download a standard vim.pot to use as a translation template for vim-6.1 to most any language(s):

http://lynxx.org/misc/download/vim-6.1-pot.tgz

This is the general template for translating messages in Vim 6.1 using the Xgettext format. It contains all English messages in the (untranslated) form:

msgid "ABC" - English text
msgstr "" - candidate language

To translate Vim 6.1 messages, proceed line-by-line, taking care not to translate commands and options specific to the editor. See the GNU 'gettext' man-page for more info and details on this.

This vim.pot should be used only with v. 6.1 to translate to any language.

When Vim versions advance, a standard vim.po must be created from the newer sources, as explained in Vim goes INTL.

See also[]

Comments[]