Enforce a specific language

Bug #771759 reported by Срђан Хрњак
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Basenji
Fix Released
Undecided
Patrick Ulbrich

Bug Description

Basenji starts with english interface, not my locale (serbian). There is serbian translation for Basenji but I can't find how to change it.

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Background: Basenji automatically determines the language from the operating system, but some languages aren't supported by the mono runtime unfortunately.

Changed in basenji:
status: New → Confirmed
assignee: nobody → Patrick Ulbrich (pulb)
Revision history for this message
Patrick Ulbrich (pulb) wrote :

Ok, i added support for language overriding.
Please upgrade Basenji from the daily PPA (https://launchpad.net/~pulb/+archive/basenji-daily)
and append "EnforceCulture = sr" to ~/.config/Basenji/settings .

Please let me know if it works for you.

Changed in basenji:
status: Confirmed → Fix Committed
milestone: none → 0.9
Revision history for this message
Срђан Хрњак (srdjan-hrnjak) wrote :

I'm using Lucid. I'll have to compile Basenji 0.8 if it is possible, it's not in PPA.

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Argh, that's bad. There's no lucid build in the PPA because basenji > 0.7.1 requires gio-sharp which is not available in the lucid repos.
You can try to download it from here though: http://packages.ubuntu.com/maverick/libgio-cil
The latest basenji code can be obtained via "bzr pull lp:basenji". Compilation instructions are available in the README file.
I hope this helps.

Revision history for this message
Patrick Ulbrich (pulb) wrote :
Revision history for this message
Срђан Хрњак (srdjan-hrnjak) wrote :

Never used bzr before. I'm getting this:

bzr: ERROR: Not a branch: "/home/gorstak/temp/basenji-0.8.0/".

Revision history for this message
Patrick Ulbrich (pulb) wrote :

sorry, my mistakte. that should actually read "bzr branch lp:basenji"

Revision history for this message
Срђан Хрњак (srdjan-hrnjak) wrote :

now it's

./configure
Looking for required packages
Checking for package 'glib-sharp-2.0'.. ERROR: Package named 'glib-sharp-2.0' >= 2.12.10 not found.
Try adjusting your PKG_CONFIG_PATH environment variable.

can't find glib-sharp-2.0 anywhere :(

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Make sure you installed all the dependencies stated in the README file. Just search for the names in synaptic.
Also check if you have installed the development versions of this packages, i.e. they end in *-dev
If you search for glib-sharp for example, you will find libglib-2.0-dev.

You also need to edit the configure file, please replace the line

common_packages=" glib-sharp-2.0;2.12.10 gtk-sharp-2.0;2.12.10 ndesk-dbus-1.0;0.6.0 ndesk-dbus-glib-1.0;0.4.1"

by

common_packages=" glib-sharp-2.0;2.12.9 gtk-sharp-2.0;2.12.9 ndesk-dbus-1.0;0.6.0 ndesk-dbus-glib-1.0;0.4.1"

Revision history for this message
Patrick Ulbrich (pulb) wrote :

("libglib-2.0-dev" should read "libglib2.0-cil-dev" in the post above)

Revision history for this message
Срђан Хрњак (srdjan-hrnjak) wrote :

I compiled and installed 0.8.1.0 and it works. Still, editing ~/.config/Basenji/settings didn't help, interface is in english. Can this compiled version help you to update Lucid's PPA?

Revision history for this message
Срђан Хрњак (srdjan-hrnjak) wrote :

Sorry, it works! Basenji was open and it undo changes in settings file on close :|

Something bit off-topic- I have some suggestions/feature requests, where can I post them?

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Nice to see it works for you on good old lucid :-)
If you have feature requests just fill new bugs.

Patrick Ulbrich (pulb)
Changed in basenji:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.