Scanning and Filtering FAQ

From Lingoport Wiki
Revision as of 19:39, 22 February 2012 by Aasnes (talk | contribs)
Jump to: navigation, search

Scanning and Filtering

Can I use Globalyzer to look for issues in my code that have nothing to do with internationalization?

Yes. In fact this is quite common. One of the added values that our customers use Globalyzer for is as a repository for regular expression searches, which they can name, describe and share among their company’s developers.

How can I tell if I am using the correct method call for a supported locale?

For most of its supported languages, Globalyzer will provide you with information and direction for refactoring methods and functions, giving examples and cross references when appropriate. It’s probably the largest on-line internationalization help system existing anywhere.

Will Globalyzer help me adapt my application to support Unicode?

Yes, as is necessary to your particular programming language. You will have a number of character encoding support choices.

Rule Sets

Do you have any model rule sets that we could leverage as 'models' for our own?

Each time we release, we try to add more default filters to our rule sets. It is an ongoing process.

How can we filter out C# functions that should be filtered out from the Embedded Strings list?

We do need to add more default string method filters for C#. If you have a server license, you could easily add these to your database. With your installation, there is a document that describes how to do this: Advanced_Globalyzer_Server_Usage_3_3.doc. If you do decided to go this route, please feel free to ask any questions.

Where can I find more introduction and materials about “General Pattern” issues found in C++ code scanning?

If you go to the Globalyzer Server and look at the General Patterns for your rule set, it will often give information on why Globalyzer is scanning for this pattern. In addition, if you go to the Help system on the Globalyzer Server, there are various topics on C++ internationalization. In particular, click on “Unsafe Methods”, then “C++ Programming Language”, and then “C++ Rule Sets”. This help page talks about Unicode support in the various C++ rule sets. For example, usually a C++ program will be compiled with single-byte character strings. These single-bytes cannot support Unicode characters, which require more than 1 byte. That is a main reason why our C++ General Patterns scan for character strings: because you will have to make sure to modify them if they are to hold Unicode strings.

Is there support for detecting and fixing GUI alignment problems?

This would be handled using programming patterns written to find fixed widths.