[TASK] XBian localization - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Community (/forum-5.html) +--- Forum: Support the project (/forum-11.html) +--- Thread: [TASK] XBian localization (/thread-1853.html) |
XBian localization - mk01 - 6th Dec, 2013 06:58 PM dear friends! I know that usually doing something we don't really need to do is ugly and against nature. I feel it each day when taking care about family (JOKE), but now and then it is not so much bad … like for instance vacuuming last week (don't tell anyone but I hate it)… we try on random occasions encourage you to maybe at least you try looking like you are interested. it is true that most of the time the topics are too challenging so now I have something very easy. it's not all just about programming and such boring stuff. for instance i think quite BOOMBING thing would be to have xbian-config (termibnal window and even XBMC) speak with your native language - XBMC does so already!. I checked how much it is to translate and it is 321 sentences NOT longer than 5-6 words in general. ground rule is: 1. The settings name cannot be more then 15 char. 2. The description cannot be more then 35 char. for this you don't need deep knowledge, just UTF text editor. you can't brick your RPI, you can't delet someone's media files. And I'm sure this would help someone in your country. to finally realize why the a function is working for everyone but him. simply because it is different one. bur it wasn't written in his native language. Now can be. if you decide to at least think about it, we dpn't need any special meetings ahout his. Look at file "less /usr/local/include/xbian-config/gettext/xbian.po" . you will right see what is it about. RE: XBian localization - IriDium - 7th Dec, 2013 02:54 AM So if someone was fluent it say Spanish - how would they go about changing the msgstr? Is there a separate file for Spanish or some flag that needs to be set to say it is Spanish. How would they go about it? RE: XBian localization - mk01 - 7th Dec, 2013 03:46 AM @IriDium ok, pure hypothetically, right? because I can speak russian, albanian a bit polish - simply you won't mess with me. so if you could do the spanish. he would take this one file as template. then he change name for instance to xbian.es.po and will translate each "msgstr" record (without the first being empty please and without second one "msgstr "XBian"" … usually names gets never translated - but there are crazy stories about spanish.I have info thast someone named Dr. Greenthumb visited Spain and returned back as Mr. Dedoverde. then you send me file back I compile it and store into /usr/share/locale/es/LC_MESSAGS providing spanish texting in case locale will be by accident set to like =es_ES btw: please be sure the file is edited properly as UTF-8. with any text console (linux / macosx …) will not be problem, but windows us able even to create code page completely new of you would like to test if you are doing right, you can add eu_ES.UTF-8. compile the file we few strings as for your test Code: dpkg-reconfigure locale and finally test Code: LANG=eu_ES.UTF-8 xbian-config RE: XBian localization - CurlyMo - 7th Dec, 2013 06:08 AM There is one issues i came across when i made xbian-config multilingual the first time. That is, you need clear guidelines on the translated sentences. When i left xbian-config to @mk01 it has simple but clear rules regarding the menu: 1. The settings name cannot be more then 15 char. 2. The description cannot be more then 35 char. That was why xbian-config looked this consistent. If you don't set clear rules on this, or don't follow them, things can get a mess easily regarding language styling. This same thing already happened with the Xbian copier and Backup /home to file menu items. You need these rules because the verboseness of languages can differ widely and therefor the lengths of the "common" translations. RE: XBian localization - IriDium - 8th Dec, 2013 03:06 AM Could this not be done with an online converter for a lot of the text? I used babelfish (Good old HHG2TG) to convert. # Information about this distribution (English) # Informationen über diese Verteilung (German) # Інформація про цей дистрибутив (Ukrainian) # Información acerca de esta distribución (Spanish) # Informatie over deze verdeling (Dutch) Would that be acceptable? How good is it. RE: XBian localization - GnobarEl - 8th Dec, 2013 10:25 AM I can try to translate to portuguese. RE: XBian localization - IriDium - 9th Dec, 2013 03:46 AM (8th Dec, 2013 10:25 AM)GnobarEl Wrote: I can try to translate to portuguese.Many thanks for that. My guess you need to output to xbian.pk.po I'm not too sure what difference there is between European Portuguese and America Portuguese? If only dialect then go for it. RE: XBian localization - GnobarEl - 9th Dec, 2013 09:04 PM (9th Dec, 2013 03:46 AM)IriDium Wrote:(8th Dec, 2013 10:25 AM)GnobarEl Wrote: I can try to translate to portuguese.Many thanks for that. Hi, PT-Portugal is different from PT-Brazilian. We can read and understand, but some words/grammar is different. Anyway, next weekend I will give a look on it. Someone can easily translate to Pt-Br. RE: XBian localization - Koenkk - 9th Dec, 2013 10:03 PM (8th Dec, 2013 03:06 AM)IriDium Wrote: Could this not be done with an online converter for a lot of the text? The dutch one is bad RE: XBian localization - IriDium - 10th Dec, 2013 02:14 AM (9th Dec, 2013 10:03 PM)Koenkk Wrote:@Koenkk How bad is bad? If it is really bad you can guess where this is going(8th Dec, 2013 03:06 AM)IriDium Wrote: Could this not be done with an online converter for a lot of the text? RE: XBian localization - Koenkk - 10th Dec, 2013 02:29 AM (10th Dec, 2013 02:14 AM)IriDium Wrote:(9th Dec, 2013 10:03 PM)Koenkk Wrote:@Koenkk How bad is bad? If it is really bad you can guess where this is going(8th Dec, 2013 03:06 AM)IriDium Wrote: Could this not be done with an online converter for a lot of the text? It's says: information about this division;p so yes it's very bad RE: XBian localization - mk01 - 13th Dec, 2013 09:44 AM (8th Dec, 2013 03:06 AM)IriDium Wrote: Could this not be done with an online converter for a lot of the text? nope. it's all bad (german / ukrainian). RE: XBian localization - BootZ - 9th Jan, 2014 12:01 AM I could do Dutch for you but will need some more info on howto edit the po file. Did some translating for Arch Linux via a website that worked very well. Just let me know if you still need a Dutch translation Cheers, BootZ RE: XBian localization - mk01 - 9th Jan, 2014 12:24 AM currently is only en in place. i started with Slovakian. if you open the file you will see easily. it is all about a pairs for all phrases. "phrase_name" and "Name of this phrase in eng". if you would considering electronically processing it, you would need to create a cross table to english texts. after all maybe I will do a .xls table. I created .ods spreadsheet where column B needs to be translated http://xbian.brantje.com/others/xbian.po.ods RE: XBian localization - IriDium - 9th Jan, 2014 03:52 AM So we need localisation on the following languages: Add as needed Australian Dutch/Flemish (Not too sure how they differ) Koen, Curlymo, Bootz French (Belese?) German Italian Norwegian. Portuguese Spanish Swedish Turkish Any users who's mother tongue is in any of the listed languages or even those not not mentioned who would like to help, please get in touch. |