Rox and desktop files: how to display Comment[fr]

For efforts in internationalising Puppy and solving problems in this area
Message
Author
User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

Rox and desktop files: how to display Comment[fr]

#1 Post by ASRI éducation »

Hello,

I need you to solve a problem with Rox-Filer.

In a Rox window, if I rolls the mouse over a desktop file, the comment displayed is in English. Yet the desktop file contains the variable Comment[fr].
Is it the same for you?
Do you have a solution to offer?

Note: I use Puppy Precise 5.7.1 + rox-filer 2.11

Thank you in advance for your help.
Regards,
Attachments
rox_comment_20150402.jpg
(76.41 KiB) Downloaded 656 times
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

Hello, ASRI.

Same here...

Image

My LANG variable is set to fr_CA but ROX-Filer is not picking it up.
I looked in the ROX-Filer doc and there's nothing about that problem
there.

If I launch rox with the LANG variable in front, I get the same results as above, plus this message:
LANG=fr_CA rox
(process:14350): Gdk-WARNING **: locale not supported by C library
(process:14350): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
That's because ROX-Filer was not compiled for Puppy with internationalisation in mind.

Now if the above sentence sounds like a criticism, that's because it is! :)

À+ / TWYL.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#3 Post by musher0 »

Hello again, ASRI.

To add to the above:

In an exchange with mikeb about "pango" errors piling up in the xerrs.log
file*, he mentioned that the glibc library might have to be recompiled
from scratch to solve the non-recognition of UTF-8 locales.

I would suggest that this is a similar problem. If the C libraries** that
Puppy relies upon do not have / do not recognize / are not compiled with
localizations, we non-Anglophones are stuck with English only in a number
of applications.

BFN.

musher0
~~~~~~~~~
* Ref. : http://murga-linux.com/puppy/viewtopic. ... 646#833801
and ff.
** And maybe GTK libraries also.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#4 Post by ASRI éducation »

@ musher0
Thank you for that informations.
Regards
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#5 Post by mikeb »

who me!!!

well glibc localizations are in /usr/lib/locale ... add what you like I believe. They either come as made or built on demand. There may be other factors blocking locales working but this sounds like a rox issue.

What does another file manager do...eg xfce4 and menu generation/desktop files if LANG is set ?

I worked through speeding up the personalise/localize wizard in lucid so learned a few things along the way...also ended up 8 times faster as a bonus :) I also aplied said knowledge to sorting out a slax install that had locale problems ...in this case hal would not work if I set a locale other than C and there was a locale.alias file present in /usr/share/locale ... weird stuff

So I am no expert but if anything comes to mind i will post it.

mike

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#6 Post by ASRI éducation »

mikeb wrote:So I am no expert but if anything comes to mind i will post it.
Thank you in advance.
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

#7 Post by L18L »

use Find'N'Run :idea:

Not comments are listed but names. :wink:

(or report it to rox dev)
Attachments
FindNrun.png
(92.56 KiB) Downloaded 454 times

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#8 Post by ASRI éducation »

L18L wrote:use Find'N'Run :idea:

Not comments are listed but names. :wink:

(or report it to rox dev)
Hello L18L
I will immediately test Find'N'Run
But I admit, I am looking for a solution with Rox-Filer.
I will contact the developer of Rox, but I have the impression that the problem is with the compilation (so I will also ask in woof forum).
Regards
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#9 Post by musher0 »

L18L wrote:use Find'N'Run :idea:

Not comments are listed but names. :wink:

(or report it to rox dev)
Yes, well names of programs, like those of persons, should not be
translated. Firefox will never be known as "Renard de feu".

As to the rox dev, he retired many years ago.

Also -- there's no easy way to tell you this -- your findNRun doesn't work
on my Puppy. And may I have the pleasure of tightening the screw: :twisted:
dmenu2 does...

As well, in Puppy, in French or in English, we are manic about adding
descriptions to application names. No-no-no-no, that is not logical at all.
In addition, it makes very wide and very ugly menus.

There are places for descriptions in the *.desktop files : the
Comment=
line or the
GenericName=
line.

Not the
Name=
line.

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#10 Post by mikeb »

As to the rox dev, he retired many years ago.
I was slapped around suggesting using grub4dos as it might be unmaintained and puppy does not want such things some years ago... but after investigating yaf-splash it seems that rule only applies when convenient :D

So any Rox changes are down to ...erm...puppy devs then?

mike

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#11 Post by musher0 »

mikeb wrote:
As to the rox dev, he retired many years ago.
I was slapped around suggesting using grub4dos as it might be unmaintained and puppy does not want such things some years ago... but after investigating yaf-splash it seems that rule only applies when convenient :D

So any Rox changes are down to ...erm...puppy devs then?

mike
Not only. Some rox fans are forking it on github. Do a little search there,
you'll see.

On the user front, archlinux fans are at least keeping rox in the loop,
while the gentoo people may really erase it from their repo. (AFAIK)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#12 Post by mikeb »

Ah ok...thanks for the info.

I too had assumed it was maintained but quiet.

One of those watch this space moments.... could one of these forks potentially help with this threads problem?

mike

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#13 Post by musher0 »

mikeb wrote:Ah ok...thanks for the info.

I too had assumed it was maintained but quiet.

One of those watch this space moments.... could one of these forks potentially help with this threads problem?

mike
Yes, please, you be the guinea pig! :D
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#14 Post by mikeb »

That would mean running around eating onion skins while having snow white long hair...sounds fun...

There is quite a bundle here
http://rox.sourceforge.net/desktop/software.html
but we are looking elsewhere I assume.

mike

edit..I grabbed the 2.11 source anyway...might be an interesting start.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#15 Post by musher0 »

mikeb wrote:That would mean running around eating onion skins while having snow white long hair...sounds fun...

There is quite a bundle here
http://rox.sourceforge.net/desktop/software.html
but we are looking elsewhere I assume.

mike

edit..I grabbed the 2.11 source anyway...might be an interesting start.
Hi, mikeb.

Yep, we are looking elsewhere. The goal is to determine whose fault it is
that
Comment[fr]=blabla
is not displayed according to the LANG variable when the mouse hovers
over the *.desktop files in /usr/share/applications.

ROX-Filer? glibc?

And then correct that fault.

If you can draw upon your experience to help us, it will be greatly appreciated.

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#16 Post by musher0 »

Hello again, mikeb.

On the French thread about this subject I posted some ROX-Filer related
URL's that you may find useful as starting points.
http://murga-linux.com/puppy/viewtopic. ... ost#838075

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#17 Post by mikeb »

ok getting onto the same page now and I am terrible at drawing...

Well Lucid quick test gave no locale error after I changed to fr_FR starting Rox ...it did without.... but the same lack of french comment of desktop.files.
To confuse that picture that is with my glib build but I doubt thats relevant..more likely Rox simply not handling desktop files that well as IIRC it was not included until later anyway.
Plus if gllb was the problem then my build would have cured it.

A play with the sources should confirm that.


mike

edit thanks for the link

edit 2...tested in slax...same behavoiur..and if memory serves rox was from debian not puppy.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#18 Post by musher0 »

Hi, mike.

Many thanks for testing.

Well, that narrows it down quite a bit, doesn't it?

if your own compile of glibc didn't cure it and we have the same behavior
in slax with a Debian-flavoured ROX, then the problem is in the "innards"
of ROX-Filer, not its packaging, not the libC basis.

What does IIRC mean, please? Thanks.

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#19 Post by musher0 »

Double. Sorry.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#20 Post by SFR »

musher0 wrote:What does IIRC mean, please? Thanks.
If I recall correctly it means if I recall correctly. :wink:

And Find'N'Run rulez, he he!
Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

Post Reply