State of the translation

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
viljoviitanen Offline
Member
Posts: 57
Joined: Apr 2010
Reputation: 1
Location: Jyväskylä, Finland
Post: #16
alanwww1 Wrote:Thanks. The idea is great. I found extjs pretty impressive. TVHeadend uses it and it is great. http://www.sencha.com/products/extjs/examples/

What do you think ?

Except I would keep the xml format for the internal format.

To have the context hints as attributes was also in my mind. I will talk to the team members about this.

Thanks

extjs looks pretty good, maybe I'll try prototyping the ui with that instead of jqueryui.

http://www.json.org/xml.html - I'm gonna go with json, because it's much easier. And I've hated xml since.. well I can't remember, so long Smile
find quote
alanwww1 Offline
Team-Kodi Member
Posts: 1,360
Joined: Nov 2008
Reputation: 33
Location: Hungary
Post: #17
@viljoviitanen

Can you come up to IRC some time ? Would be good to talk.

Usually I am up after 11pm-01am central european time.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
viljoviitanen Offline
Member
Posts: 57
Joined: Apr 2010
Reputation: 1
Location: Jyväskylä, Finland
Post: #18
Right, I have an early "prototype" of what the ui of the translator that I had in mind:

http://viljo.wippiespace.com/xbmc/demo/demo.html

That has no "server side" things done, it's just an "dummy" UI. And it's still missing the crucial thing I want it to have, the translation memory (and it does not have support for the context hints, I seemingly missed some extjs source files). And I have this really weird problem that if the json file of the translated strings I'm fetching is too large, I get an error from extjs that it's invalid json. But anyway.

I really hope other interested devs would hop along Smile There'll be lots of interesting things to be done both client and server side...
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,228
Joined: Oct 2003
Reputation: 177
Post: #19
Neat Smile

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
queeup Offline
Posting Freak
Posts: 762
Joined: Feb 2009
Reputation: 16
Post: #20
Finally. I sucked all developers life before to start this kind of translate project. Finally Smile
find quote
takoi Offline
Fan
Posts: 711
Joined: Oct 2009
Reputation: 10
Location: Norway
Post: #21
Instead of making yet another silly tool, people should rather focus on existing systems (transifex/launchpad). Practically every other projects moved away from the tickets, manually uploading, pull requests system a long time ago to these. it's time xbmc do it too, but not in the form of yet another tool..
find quote
viljoviitanen Offline
Member
Posts: 57
Joined: Apr 2010
Reputation: 1
Location: Jyväskylä, Finland
Post: #22
ventech Wrote:Instead of making yet another silly tool, people should rather focus on existing systems (transifex/launchpad). Practically every other projects moved away from the tickets, manually uploading, pull requests system a long time ago to these. it's time xbmc do it too, but not in the form of yet another tool..

I'm almost offended by you calling my efforts here silly, but I'll ignore it, maybe you're right.

Using existing systems would surely be the best way, it we get the systems to suit us.

Transifex looks quite good:

https://www.transifex.net/tour/features/translate/

http://help.transifex.net/features/formats.html

Launchpad only supports gnu gettext files? It looks good too, though.

https://launchpad.net/+tour/translation

I think we could easily build a "bridge" between xbmc string.xml files and gettext files so we can use these systems.

I have no idea if those systems provide the "translation memory", which surely is critical to the translation process.

Then there's the matter of plugins, where the changes need to be pushed to where ever the addon developers fo their development.

Any way it goes, I want to see the xbmc translation situation improve, a lot, and I'm willing to work on it. Be it silly or not.
(This post was last modified: 2012-01-27 13:17 by viljoviitanen.)
find quote
alanwww1 Offline
Team-Kodi Member
Posts: 1,360
Joined: Nov 2008
Reputation: 33
Location: Hungary
Post: #23
I was also thinking of launchpad earlier, but the updating process of Enlish and back the translated strings would be a PITA and all up to xbmc devs and plugin devs to handle without the interaction, notice, help etc from the translator itself. That is not so a good way in my opinion.

That is why at this point I agree that a web based translation tool with automated pull push functionality looks quite good as it also helps xbmc devs life. And extjs seems powerful enough to handle it gui-wise.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
takoi Offline
Fan
Posts: 711
Joined: Oct 2009
Reputation: 10
Location: Norway
Post: #24
Well, transifex happens to be completely open source and proven. you can host it at xbmc.org if you want. I'm just saying it might be good idea to look into it before reinventing transifex. I know some guy once said he would look into creating a xml plugin for it in some thread a while ago, but the thread just died..
find quote
alanwww1 Offline
Team-Kodi Member
Posts: 1,360
Joined: Nov 2008
Reputation: 33
Location: Hungary
Post: #25
ventech Wrote:Well, transifex happens to be completely open source and proven. you can host it at xbmc.org if you want. I'm just saying it might be good idea to look into it before reinventing transifex. I know some guy once said he would look into creating a xml plugin for it in some thread a while ago, but the thread just died..

Yes I looked into the docs and it seems to handle a whole lot of formats, including android xml.

I will take a look into it as it seems like a nice tool. Cleaner, better than launchpad maybe.

Also if it is open source, we can write a custom parser in case. It seems promising.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
queeup Offline
Posting Freak
Posts: 762
Joined: Feb 2009
Reputation: 16
Post: #26
Yea I suggest it once: http://forum.xbmc.org/showpost.php?p=665...stcount=24

ticket about string hint/help: http://trac.xbmc.org/ticket/8047

Also Microsoft Terminology and Glossary site. This is really helping us for translations.
They collect all languages and strings used in Microsoft products
http://www.microsoft.com/language/en-us/default.aspx
find quote
viljoviitanen Offline
Member
Posts: 57
Joined: Apr 2010
Reputation: 1
Location: Jyväskylä, Finland
Post: #27
Hm, http://help.transifex.net/server/install.html doesn't look too daunting... Maybe I'll take a look at this and see how it could be integrated with the xbmc, i.e. strings.xml files and even the git backend.

If this is the way to go, there's the matter of having the server... Transifex is python and forum, wiki and xbmc.org (wordpress?) are php, so I'm not sure what whoever is responsible for mainaining xbmc server thinks about it. But it probably could be hosted elsewhere too. For starters I'll put it to my free amazon ec2 machine, unfortunately though I'll run out of the free 12 months pretty soon.

Also, with xbmc being a widely recognized, successful open source project, if we run into issues, I'm sure we can get help from the makers of transifex.

Edit: I was slow - should have checked the thread before hitting submit Wink
(This post was last modified: 2012-01-27 13:59 by viljoviitanen.)
find quote
alanwww1 Offline
Team-Kodi Member
Posts: 1,360
Joined: Nov 2008
Reputation: 33
Location: Hungary
Post: #28
queeup Wrote:Yea I suggest it once: http://forum.xbmc.org/showpost.php?p=665...stcount=24
ticket about string hint/help: http://trac.xbmc.org/ticket/8047

Yes context hints is a main and first official target from the team XBMC, which task I was assigned from Jonathan. The reason I am also looking at the future solution is to make this context hints in a proper format what we can use with the new translation method. (namely as xml attributes or normal xml comments)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,228
Joined: Oct 2003
Reputation: 177
Post: #29
Hosting it won't be a problem. Once you have evaluated it's efficacy for the rule, drop us a line and we'd be quite happy to host it (and help you with any access you need etc.)

Great initiative Smile

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
alanwww1 Offline
Team-Kodi Member
Posts: 1,360
Joined: Nov 2008
Reputation: 33
Location: Hungary
Post: #30
jmarshall Wrote:Hosting it won't be a problem. Once you have evaluated it's efficacy for the rule, drop us a line and we'd be quite happy to host it (and help you with any access you need etc.)

Great initiative Smile

Cheers,
Jonathan

Thanks Jonathan !

With the help of Viljo and possibly others who want to contribute, we'll get to the end of this. Thanks for the support :-)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Post Reply