bugGNUstep - Bugs: bug #25909, NSLanguage don't work on Windows.

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #25909: NSLanguage don't work on Windows.

Submitted by:  Germán Arias <espectador>
Submitted on:  Wed 18 Mar 2009 06:13:11 AM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 28 Mar 2009 05:14:09 PM UTC, comment #5:

Closed as requested by original author.

Fred Kiefer <FredKiefer>
Project Member
Sun 22 Mar 2009 04:49:31 AM UTC, comment #4:

After make an installer to FisicaLab with "NSIS installer" and install FisicaLab-setup, this work perfectly. Then, I think that this bug is irrelevant.

Germán Arias <espectador>
Sat 21 Mar 2009 02:16:54 AM UTC, comment #3:

Sorry for the delay.

Well, when you run the app from the shell, this is the information:

NSUserName: Juan

GSDefaultsRootForUser: C:/GNUstep/Defaults

With double click above the executable:

NSUserName: Juan

GSDefaultsRootForUser: C:\Documents and Settings/Juan/GNUstep/Defaults

Germán Arias <espectador>
Wed 18 Mar 2009 11:37:15 AM UTC, comment #2:

It sounds like when you launch Gomoku from the MinGW shell,
you probably have sourced GNUstep.sh so have all the
GNUSTEP_XXX environment variables set.

When you launch it by double-clicking on it, no
environment variables are set.

That shouldn't make any difference, but from the behaviour
you're seeing, it sounds like it does. :-/

You could try adding

NSLog (@"NSUserName: %@", NSUserName());
NSLog (@"GSDefaultsRootForUser: %@", GSDefaultsRootForUser (NSUserName()));

in Gomoku, and see if they log different things when
started up in different ways. :-)

Thanks

Nicola Pero <nico>
Project Member
Wed 18 Mar 2009 09:38:58 AM UTC, comment #1:

What do you mean by 'Launch Gomoku with the executable' and 'Launch Gomoku from the shell' ?

Perhaps these two different mechanisms (whatever they are) are launching different versions of the app or are launching the same app with different versions of the libraries having resources in different locations?

Richard Frith-Macdonald <CaS>
Project Member
Wed 18 Mar 2009 06:13:11 AM UTC, original submission:

You can reproduce this with, for example, Gomoku. Set the language, in another different of English:

defaults write NSGlobalDomain NSLanguages "(Spanish)"

Launch Gomoku with the executable. run in English. Launch Gomoku from the shell, run in Spanish.

Germán Arias <espectador>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by nico (Posted a comment)
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by espectador (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 28 Mar 2009 05:14:09 PM UTCFredKieferStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Wed 18 Mar 2009 09:38:58 AM UTCCaSStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1