InstructorSite / Global Settings / Language Editor Tool

Introduction

The Language Editor is a windows application designed to allow customization of all the words used in UniversitySite. It can be used on a piecemeal basis to change wording here and there, or it can be used to create an entirely new language file to support a other languages in UniversitySite.

To request the language editor tool email support

The Language Editor (LE) is a self-contained application that does not need to be installed, but it does require the .NET 3.5 framework be installed on the computer where it will be used.

The Language Editor should be installed on the web server where UniversitySite resides.
Copy USLanguageEditor.exe to a directory that makes sense to you from which you will use the tool e.g. c:\program files\profiscience partners\Language Editor

The Language Editor operates upon RESX files that will reside within the App_GlobalResources folder within the UniversitySite web folder.

Before you can begin editing the dictionary for your language you must first “tell” the Language Editor what languages you plan to support. You can add or remove language support by using the Locale menu. Just expand or contract the boxes, make your selections by checking the appropriate boxes and close the window using the X when you are done.

Before making any edits we recommend that you backup the "App_GlobalResources" folder inside the folder where UniversitySite has been installed so you can easily undo your changes if you experience trouble.  It is also a good idea to back this folder up after making changes to the resx files “just in case”.

1.      In Windows explorer, browse to c:\inetpub\wwwroot\universitysite (your folder structure could be different)2.      Make a copy of the App_GlobalResources folder and rename it as “App_GlobalResources Original” and leave it inside the UniversitySite web folder

3.      Open the Language Editor tool and from the File menu select Open RESX directory

4.      Browse to c:\inetpub\wwwroot\universitysite\App_GlobalResources and click OK

5.      Click on the language you want to edit from the "Locale" menu.

6.      Make your edits as desired to the middle column.

7.      Make a backup copy of your “After edits” App_GlobalResources folder

To enter edit mode, press F2 or double-click on text in the Current Language column. Use Ctrl+C and Ctrl+V to copy and paste respectively (even though you don't see them on the "Edit" menu).

The first column named Default is the English version of the phrase that we include with UniversitySite.

The second column, Current Language (en)  shows the phrase as it will be displayed in UniversitySite when the locale you are viewing in this editor matches the UniversitySite user's preferred language.

The third column named Comment is a comment that the developer has added to help you properly translate this phrase.

Be careful not to delete any numbers inside braces like: {0} or {1}. These are substitution variables used to dynamically add content. The application is expecting these to be in the resource string. Removing them will cause unpredictable results.

Do not change the spelling of any text surrounded by percent signs such as: %CatalogText% or %ReportCardsText% these are also substitution variables.

After you have made your changes, Select Save Changes from the File menu.

Only files installed by the installer would be replaced with new versions. Customized language files will not be replaced during the installation.

If necessary, most files can safely be restored to the "App_GlobalResources" folder after an upgrade with one exception, the GlobalResources.resx. This file is the default language file for UniversitySite. This file should NEVER be removed or edited.

Still need help? Contact Us Contact Us