[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

1693.0. "Bug in the Spanish kit" by TARUGO::LIDIA (Spain) Fri Oct 30 1992 19:34

T.RTitleUserPersonal
Name
DateLines
1693.1V2FORMAT -> FORMAT, /LANGUAGE problemCESARE::EIJSAll in 1 PieceFri Oct 30 1992 21:0057
    
    Lidia,
    
    Hmmm, what happens during an upgrade installation is:
    
    	- Save old FORMAT.DAT to V2X_FORMAT.DAT
    	- Create new FORMAT.DAT
    	- Write all entries for V3.0 in FORMAT.DAT
    	- Loop through V2X_FORMAT.DAT and update the records in FORMAT.DAT
    		for the values in V2X_FORMAT.DAT
    
    The STDFORMAT field is (probably) the only field which will cause you a
    problem:
    
    V2FORMAT.FLX (used during the upgrade):
    
    ;;STDFORMAT;;
    /VALID=OA$YN/HARD=OA$_FORMAT_STANDARD/LANGUAGE=OA$_LANG_YES_OR_NO
    
    The value for OA$_LANG_YES_OR_NO will probably be 'S,N/Y,N' in Spanish.
    
    FORMAT.FLX in V3.0:
    
    ;;STDFORMAT;;
    /HARD=OA$_FORMAT_STANDARD/LANGUAGE=SM$_LANG_YN_NUM/VALID=OA$YN:SM$_YN
    
    The value for SM$_LANG_YN_NUM is 'Y,N/1,0', which is quite different
    from V2.*.
    
    When modifying the records during the upgrade the value for STDFORMAT
    V2.X (S in your example) is put into STDFORMAT V3.0. As 'S' is not part
    of the internal translation string, it will be stored as an 'S', and not
    as a '1' (or 'Y' in the worst case).
    
    A way to fix this is (in V3.0):
    
    FOR FORMAT WITH .STDFORMAT:U == OA$Y DO -
      GET #KEY = .%KEY \\-
      WRITE CHANGE FORMAT %KEY = #KEY, STDFORMAT = SM$_Y
    
    If the spanish OA$N isn't 'N', then you have to do the same for all
    'Ns':
    
    FOR FORMAT WITH .STDFORMAT:U == OA$N DO -
      GET #KEY = .%KEY \\-
      WRITE CHANGE FORMAT %KEY = #KEY, STDFORMAT = SM$_N
    
    And submit an SPR (if not already done)... 
    
    Ciao,
    
    	Simon                                 
    
    
    
    
    
1693.2Your SM menus etc. aren't translated are they?IOSG::PYESpurs 2 Liverpool 0Mon Nov 02 1992 13:248
    Also, SM$_Y should only be translated if the SM subsystem is *ALSO*
    translated!
    
    It's there so that you get to answer English questions in the SM
    subsystem with English answers, even though the rest of the product is
    translated.
    
    Graham
1693.3described in Release NotesPETRUS::HOFMANNStefan Hofmann, LC Frankfurt, ISEFri Nov 06 1992 15:282
    Please refer to Spanish language Release Notes, 1.7
    	Stefan