strings.po required fields
#1
Question 
Hello,

I just start converting my add-on's strings.xml to strings.po files. Just I wonder what is the required fields.
Secondly is it necessary adding "#. & #:" to translated files also?

example of using xbmc-xml2po:
PHP Code:
# XBMC Media Center language file
msgid ""
msgstr ""
"Project-Id-Version: XBMC-Addons\n"
"Report-Msgid-Bugs-To: [email protected]\n"
"POT-Creation-Date: 2013-01-11 20:12+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <[email protected]>\n"
"Language-Team: LANGUAGE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: tr\n"
"Plural-Forms: nplurals=1; plural=0\n" 

example of mine(It's working fine but I don't know side effects of not putting other fields):
PHP Code:
# plugin.video.imdb.trailers language file
msgid ""
msgstr ""
"Language: en\n"

#. Add-on Title
#:
msgctxt "#30000"
msgid "IMDb Trailers"
msgstr ""

#. Settings
#: resources/settings.xml line:4
msgctxt "#30001"
msgid "Video Quality"
msgstr "" 
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average


Messages In This Thread
strings.po required fields - by queeup - 2013-01-11, 23:48
Re: strings.po required fields - by Martijn - 2013-01-12, 00:03
RE: strings.po required fields - by alanwww1 - 2013-01-12, 13:31
RE: strings.po required fields - by queeup - 2013-01-12, 19:31
RE: strings.po required fields - by alanwww1 - 2013-01-12, 20:47


Logout Mark Read Team Forum Stats Members Help
strings.po required fields00