Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Synonyms to Enable Multiple-Language Support

IP.com Disclosure Number: IPCOM000118919D
Original Publication Date: 1997-Sep-01
Included in the Prior Art Database: 2005-Apr-01
Document File: 2 page(s) / 67K

Publishing Venue

IBM

Related People

Haynes, T: AUTHOR

Abstract

Operating systems ship with common directories used by many applications. The worldwide language versions of these operating systems often change the names of these shared directories. For instance, a common Windows 95* directory, 'PROGRAM FILES', is called 'ARQUIVOS DE PROGRAMAS' in Brazilian Portuguese, and 'FILAS DE PROGRAMA' in Spanish.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Synonyms to Enable Multiple-Language Support

      Operating systems ship with common directories used by many
applications.  The worldwide language versions of these operating
systems often change the names of these shared directories.  For
instance, a common Windows 95* directory, 'PROGRAM FILES', is called
'ARQUIVOS DE PROGRAMAS' in Brazilian Portuguese, and 'FILAS DE
PROGRAMA' in Spanish.

      It is common for a developer to use a directory name in a
command.  For instance, a batch file that launches a program might
use the line 'run "c:\program files\foo.exe"'.

      This command, unmodified, will fail in a language that changes
the directory name.  So, currently, a developer must provide an
altered batch file for each language so affected.  For instance, for
Spanish the new file would have the line 'run "c:\filas de
programa\foo.exe"'.

      The operating system can have the different directory names
satisfy languages and cultures, yet not force programmers to change
code.

      Hard-code a series of synonyms for the directory, one for each
language the operating system is translated to.  For instance, for
'PROGRAM FILES', the synonym list would include 'ARQUIVOS DE
PROGRAMAS', 'FILAS DE PROGRAMA', and many others.

      Then, enforce the inability for users to create a directory in
that hierarchical level using one of these synonyms (for instance, in
Spanish, do not allow someone to create 'Program Files'.  In English,
do not allow someone to create 'Filas de Programa').  Then the
program code, across languages, could still hard-code to one
directory.  The operating system, if the directory is not found,
would then check the synonym list, to see if the directory is part of
a synonym list.  If found, it would then look for...