NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 1070 1071 1072 1073 1074 … 1231 Next »
Where are the text strings stored?

 
  • 0 Vote(s) - 0 Average
Where are the text strings stored?
jsteele
Offline

Senior Member

Posts: 434
Threads: 63
Joined: Dec 2004
#1
2005-03-31, 05:05 PM
Just wondering where the text strings are stored. In the US we spell "programme' as 'program' --- wrong I know but cut us some slack, eh :-)
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,814
Threads: 769
Joined: Nov 2003
#2
2005-03-31, 05:31 PM
They are hard coded into the software, but you could look into the lanuage.xml files on the wiki.
jsteele
Offline

Senior Member

Posts: 434
Threads: 63
Joined: Dec 2004
#3
2005-03-31, 07:31 PM
Any chance that you'd like to provide US spellings as an option?

Or pull the text stuff out to a separate structure? Non-English speakers could create language sets then. (That's one thing that MP does have right, the prompts and test strings are available in umpteen different languages.)

"Two people separated by a common language"...
jsteele
Offline

Senior Member

Posts: 434
Threads: 63
Joined: Dec 2004
#4
2005-03-31, 07:49 PM
OK, I went to the Wiki and after much searching found a topic "Translations" where there are a number on non-English language files. But nowhere in the Wiki have I found the basic "language.xml" from which I can make a US-English "translation" file.
stefan
Offline

Posting Freak

Posts: 3,116
Threads: 81
Joined: Oct 2004
#5
2005-03-31, 08:10 PM
Just get one of them. I looked at the swedish one, and I assume the others look the same. They contain entries of the form:
<translate originalText="Exit" translatedText="Avsluta"/>
so they would be straightforward to translate "back" into american english.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,814
Threads: 769
Joined: Nov 2003
#6
2005-03-31, 08:19 PM
Quote:Any chance that you'd like to provide US spellings as an option?
Big Grin You've got to be kidding. The US is no more important than any other langauge in my book. GB-PVR is written for international english. That said, you're most welcome to create your own US language.xml. As mentioned above, its quite straight forward. The language.xml doesnt need to contain all strings, only those you want to translate, so your language.xml might only contain four or five lines.
joche
Offline

Member

Posts: 143
Threads: 39
Joined: Jan 2005
#7
2005-03-31, 08:21 PM
sub Wrote:Big Grin You've got to be kidding.

You are my hero!
jsteele
Offline

Senior Member

Posts: 434
Threads: 63
Joined: Dec 2004
#8
2005-03-31, 08:47 PM
sub:

Well, it isn't necessary to get snippy, I just thought I'd ask :-)

As you note I found the non-English files. I take it then that there is no base "language.xml" with the raw (i.e. untranslated) text in it.

Just FYI, I would observe that the "International English" used in the descriptions is not consistent in any event. For example in some cases the word "favourite" is spelled in the "British-style" (e.g. "Listen to your favourite FM radio stations") and in other cases spelled in the "American-style" (e.g. "Watch your favorite video files").

But what do I know :-)
-------------------

stefan:

Is it necessary to provide "translated" data even if there is no translation necessary?

(e.g. <translate originalText="Stop" translatedText="Stop" />);

or is it sufficient to "translate" only those elements that need it

(e.g. <translate originalText="Browse the TV Guide and select programmes to record." translatedText="Browse the TV Guide and select programs to record." />)

and remove the "translatedText value from those that don't (e.g. <translate originalText="Stop" /> )?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#9
2005-03-31, 08:59 PM
in most of the english speaking world (i think everywhere except usa) favourite is spelt favourite. and colour is spelt colour. oh and centre is spelt centre etc, :p

so international english is the way to go. (i even think the skins use colour as colour, not color).

oh btw i think someone already made a american english language.xml file.
jsteele
Offline

Senior Member

Posts: 434
Threads: 63
Joined: Dec 2004
#10
2005-03-31, 09:05 PM (This post was last modified: 2005-03-31, 09:09 PM by jsteele.)
reven:

That's fine ... you are absolutely correct that the US is the "odd-man-out" in the English spelling game. I am not trying to assert some sort of nationalistic primacy here. But if it is going to "International (British) English" then all occurances of "favorite/favourite" ought to be spelled the same, no?

As I said, "Two people separated by a common language".

Colour = Color
Favourite = Favorite
Centre = Center
Spelt = Spelled :-)

"oh btw i think someone already made a american english language.xml file"
I didn't see it on the Wiki ...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with SRT Viewer showing italic tags ie:<i> text </> nsti2tion 4 3,468 2010-10-05, 11:55 PM
Last Post: sub
  fuzzy or jagged looking text in PVRX2 Torque 4 1,932 2010-04-15, 07:51 PM
Last Post: stustunz
  Better Looking Text in Overlay Manager 235301 1 1,353 2009-11-24, 05:33 PM
Last Post: sub
  EPG text font code page support rooomish 14 4,567 2009-11-17, 07:19 PM
Last Post: woa
  XMLTV - RT and symbols in text description gbq57 8 2,498 2009-03-27, 01:28 AM
Last Post: markbb1
  F7 mapped to Text button not working anymore #66 6 2,096 2008-11-13, 07:36 PM
Last Post: #66
  Blocky menu text on MVP with 1.3.7 asout 8 2,884 2008-11-11, 09:18 AM
Last Post: -=TJ=-Stefan
  Text TV Guide (PVRX2) is scrambled wsmaal 4 1,796 2008-10-30, 01:02 PM
Last Post: wsmaal
  sound in stored DVD files ajst2duk 6 1,853 2008-06-10, 08:39 PM
Last Post: ajst2duk
  98.8 Subtitles stop working after weird text mattrobo 20 5,805 2008-05-03, 06:52 PM
Last Post: mattrobo

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode