Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook
Pages (6): 1 2 3 4 5 6 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Task:  XBian localization
6th Dec, 2013, 06:58 PM
Post: #1
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
Star XBian localization
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.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
7th Dec, 2013, 02:54 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: XBian localization
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?

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
7th Dec, 2013, 03:46 AM
Post: #3
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: XBian localization
@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 Smile

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            
msgfmt -o /usr/share/locale/es/LC_MESSAGES/xbian.mo MYFILE.es.xbian.po

and finally test
Code:
LANG=eu_ES.UTF-8 xbian-config

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
7th Dec, 2013, 06:08 AM
Post: #4
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: XBian localization
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.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
8th Dec, 2013, 03:06 AM
Post: #5
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: XBian localization
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.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
8th Dec, 2013, 10:25 AM
Post: #6
GnobarEl Offline
Registered
Posts: 7
Joined: Dec 2013
Reputation: 0
RE: XBian localization
I can try to translate to portuguese.
Find all posts by this user
Quote this message in a reply
9th Dec, 2013, 03:46 AM
Post: #7
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: XBian localization
(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.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
9th Dec, 2013, 09:04 PM
Post: #8
GnobarEl Offline
Registered
Posts: 7
Joined: Dec 2013
Reputation: 0
RE: XBian localization
(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.

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.

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.
Find all posts by this user
Quote this message in a reply
9th Dec, 2013, 10:03 PM
Post: #9
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: XBian localization
(8th Dec, 2013 03:06 AM)IriDium Wrote:  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.

The dutch one is bad Wink

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
10th Dec, 2013, 02:14 AM
Post: #10
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: XBian localization
(9th Dec, 2013 10:03 PM)Koenkk Wrote:  
(8th Dec, 2013 03:06 AM)IriDium Wrote:  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.

The dutch one is bad Wink
@Koenkk How bad is bad? If it is really bad you can guess where this is going Shy

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
10th Dec, 2013, 02:29 AM
Post: #11
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: XBian localization
(10th Dec, 2013 02:14 AM)IriDium Wrote:  
(9th Dec, 2013 10:03 PM)Koenkk Wrote:  
(8th Dec, 2013 03:06 AM)IriDium Wrote:  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.

The dutch one is bad Wink
@Koenkk How bad is bad? If it is really bad you can guess where this is going Shy

It's says: information about this division;p so yes it's very bad

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
13th Dec, 2013, 09:44 AM
Post: #12
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: XBian localization
(8th Dec, 2013 03:06 AM)IriDium Wrote:  Could this not be done with an online converter for a lot of the text?


Would that be acceptable? How good is it.

nope. it's all bad (german / ukrainian).

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
9th Jan, 2014, 12:01 AM
Post: #13
BootZ Offline
Registered
Posts: 6
Joined: Jan 2014
Reputation: 1
RE: XBian localization
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
Find all posts by this user
Quote this message in a reply
9th Jan, 2014, 12:24 AM
Post: #14
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: XBian localization
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

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
9th Jan, 2014, 03:52 AM
Post: #15
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: XBian localization
So we need localisation on the following languages: Add as needed
Australian Big Grin
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.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (6): 1 2 3 4 5 6 Next »
Post Reply 


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

Current time: 19th May, 2025, 12:02 AM Powered By MyBB, © 2002-2025 MyBB Group.