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

Group
 
 

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

Submitter:  Germán Arias <espectador>
Submitted:  Wed 18 Mar 2009 06:13:11 AM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Closed as requested by original author.

Fred Kiefer <FredKiefer>
Group 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>
Group 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-03-28 FredKiefer StatusNeed Info Invalid
        Open/ClosedOpen Closed
    2009-03-18 CaS StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code