Opened 19 months ago

Last modified 8 months ago

#14150 new bug

Finnish catalog clears default language

Reported by: humdinger Owned by: pulkomandy
Priority: normal Milestone: Unscheduled
Component: Kits/Locale Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


This is hrev51932 (32bit).

As originally reported in the Tipster bugtracker.

Janus found out that if you have an application that has a Finnish localisation, the default English locale is ignored and the next fallback locale is used. For example:

  • Open Locale prefs, choose 1st language "English", 2nd "Deutsch"
  • Start Tipster

Behold: The tips are English as expected, but the GUI (menus) is "Deutsch" instead of English.

As this does not happen with bundled apps like StyledEdit, does using "make bindcatalogs" have something to do with it?

Change History (4)

comment:1 by pulkomandy, 19 months ago

I don't remember what "make bindcatalogs" does. Does it just generate the catkeys, or also embed them in the executable? In the latter case, we should have a look at the embedded resources and check for anything unexpected.

It may be a bug in the way we load catalogs from resources, too.

comment:2 by humdinger, 19 months ago

"make catkeys" generates the en.catkeys, "make bindcatalogs" embeds the catkeys as resources in the executable.
See the the makefile-engine:
for lc in $(LOCALES); do linkcatkeys -o $(TARGET) -s $(APP_MIME_SIG) -tr -l $$lc $(CATKEYS_DIR)/$$lc.catkeys; done

I had a look at Tipster with QuickRes, but don't see anything special with the "fi" resource.

comment:3 by pulkomandy, 19 months ago

Ok, there is probably a problem in the way we try to search for catalogs in resources after not finding an external .catalog file.

comment:4 by irtusb, 8 months ago

as it is a shell script i think is has to do with the fi keyword that marks the end of an if conditional declaration

Note: See TracTickets for help on using tickets.