![]() |
Re: Is there a way to translate application/games?
Quote:
Can i upload the source to the autobuilder after i've finished translating? will i get a .deb package out of it? |
Re: Is there a way to translate application/games?
Quote:
|
Re: Is there a way to translate application/games?
i Finished translating it to my language and added a "ar_SA.po" file into the source.
is there anyway to get it working with my language without sending it to the maintainer? |
Re: Is there a way to translate application/games?
OK - where did my message go? Have to type again ;)
Well: Of course you *should* send the file to the maintainer. That's the whole point of free software, right? ;) ar_SA is arabic, isn't it? We might run into problems there... but just try. I don't have my N900 with me ATM, so I'll have to do some guesswork, but it might be helpful. On you N900, change to /usr/share/locale/en_GB/LC_MESSAGES (or something similar ... maybe it's in /usr/share/locale/en/LC_MESSAGES?) and try to find a file that ends in *.mo and starts with something that sounds like the name of the application. Maybe its callforwarding.mo? Don't know. Why do you need to do this? Because you want to find out the correct name for *your* file. It will not be ar_SA.po in the end. Once you found what you were looking for, rename your file to exactly the same name and put it into /usr/share/locale/ar/LC_MESSAGES/ or /usr/share/locale/ar_SA/LC_MESSAGES/ depending on which is available. Now here's the thing I don't know: Is there an ar-locale you can choose on the N900 at all? Probly, you built a translation for it, but how far is it supported through the system? No idea. Also, I don't know if it makes a difference if you put it in the ../ar/ or ../ar_SA/ directory. What I believe is that the ../ar/-directory is safe enough... But I'm not sure. What should happen now is: You set your country/language settings to Arabic. Verify that the language is really set to Arabic by typing echo $LC_MESSAGES in the terminal. The output shout be "ar" or "ar_SA". If you start the application now, it will look up the current locale, go into the corresponding directory under /usr/share/locale, and fetch "its" file from there. (This is why it is important that the file has the right name. Otherwise the application wouldn't know which file to choose.) Sounds more complicated than it is. The only thing I don't know is if you can set your locale to Arabic at all on the N900, but that you know better than I do ;) |
Re: Is there a way to translate application/games?
Quote:
ar_SA is arabic yes, i added it to the system myself ( you can see the package "Arabic Localization" in devel repo. Its _SA because all languages are like eng_gb, pl_po ... etc. AR alone simply didn't work and wasn't added to the system languages. Its completely supported through the system, translated every .po file in usr/share/locale. i did verify and the output was ar_SA. i thought about putting the .mo files in /usr/share/locale/ar/LC_MESSAGES/ before, but whats the point? I'm the only one who will see it translated. Maybe you did get the point of my whole post :confused: : I used to be part of a team in another forum that translates Symbian apps into arabic, now that i moved to Maemo (thankfully i did) I'm trying to do the same with Maemo apps, and after its translated i share it with fellow arab forum members... I heard that i can turn the translated source into a .deb package using scratch box environment in Maemo SDK, so i'm downloading the SDK at the moment, hopefully i will learn how to make a package. Thanks again. :) |
Re: Is there a way to translate application/games?
so you want to distribute it as a deb, but not as part of the original application package? i'm not sure if this makes sense at all or is good practice. what will you do if the original application gets upgraded? how would you ensure that people who use the app even know that the translation exists? i'm sceptical. technically it shouldn't be too difficult though.
|
Re: Is there a way to translate application/games?
I get the following error when trying to install Maemo SDK:
Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed! Any idea whats that? |
Re: Is there a way to translate application/games?
When i write the command:
sudo chmod +x ./maemo-sdk-install_5.0.sh ./maemo-sdk-install_5.0.sh i get: DISPLAY already set. Installation environment already set. Added debconf frontend setting in scratchbox. Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed! any solution :S Edit: fixed it using: sysctl abi.vsyscall32=0 |
All times are GMT. The time now is 08:12. |
vBulletin® Version 3.8.8