• Show convenient version of this site
  • Deutsch
  • English
Contact
Newsletter
  • Products
    • ALS
      • Across Language Server
        • Translation Management
        • Terminology Management
        • Translation Memory
      • Editions
      • Interfaces
    • ATE
      • Across Translator Edition
      • Editions
      • Download
      • Across Account
    • Elanion
      • Overview
      • Login
  • Solutions
    • Customers
      • Enterprises
      • Language Service Providers
      • Translators
    • Industries
      • E-Commerce & Trade
      • Pharmaceuticals & medicine
      • IT & Software
    • Departments
      • Marketing & E-Commerce
      • Technical Documentation
      • Software User Interfaces
  • Services
    • Hosting
    • Training
    • Consulting
  • Partners
    • Language Service Providers
    • Universities
  • Company
    • Across Systems
    • News
    • Events
    • Career
    • Contact
  • Knowledge
    • Blog
    • Video Library
    • Case Studies
    • White Papers
    • Fact Sheets
    • File Formats
    • Expert Features
  • Support
    • Online Help
    • FAQ
    • Support Request
    • Updates
    • New Functions
Schedule Consultation

RegEx QM Criteria for Software Localization

The following examples demonstrate how you can use regular expressions to determine QM criteria for software localization in the QM mode v7.0.

File extensions

Checks the consistent use of file extensions like *.exe. The criterion considers all file extensions containing the component *., i.e. *.exe as well as other extensions like *.RESOURCE.

Option
Details
Condition
Report if source matches, but target has fewer matches
Error description
A file extension from the source text is missing
Source regex
\*\.([a-z0-9]{1,}|[A-Z0-9]{1,})\b
Activate the Case-sensitive option
Target regex
\*\.([a-z0-9]{1,}|[A-Z0-9]{1,})\b
Activate the Case-sensitive option

Hotkeys

Makes sure that hotkeys (e.g. Alt&F for opening the File menu) are duly used in dialogs and menus and that they are not used in more than one way.

Option
Details
Condition
Report if source matches, but target has a different number of matches
Error description
A hotkey indicator from the source text has been set incorrectly
Source regex
&(?=[A-z0-9]+)
Target regex
&(?=[A-z0-9]+)

Windows string placeholders

Checks the correctness of printf placeholders such as %d or %s.

Option
Details
Condition
Report if source matches, but target has a different number of matches
Error description
Number of string placeholders does not match
Source regex
%[ 0#+-]?(\d+(\.\d+)?)?[hljztL]{0,2}\*?[diuoxXfFeEgGaAcspn%]
Activate the Case-sensitive option
Target regex
%[ 0#+-]?(\d+(\.\d+)?)?[hljztL]{0,2}\*?[diuoxXfFeEgGaAcspn%]
Activate the Case-sensitive option

.NET string placeholders

Checks the correctness of printf placeholders like {0}, {1}, {2}, etc.

Option
Details
Condition
Report if source matches, but target has a different number of matches
Error description
Number of string placeholders does not match
Source regex
\{\d{1,3}(:[a-z0-9#%‰]+(([ ]+|[:;.,_\\-])[A-z0-9#%‰]+)*)?\}
Activate the Case-sensitive option
Target regex
\{\d{1,3}(:[a-z0-9#%‰]+(([ ]+|[:;.,_\\-])[A-z0-9#%‰]+)*)?\}
Activate the Case-sensitive option

Tab stops

Checks the consistent use of the \t character in string tables.

Option
Details
Condition
Report if source matches, but target has a different number of matches
Error description
Number of \t characters does not match
Source regex
\\t
Activate the Case-sensitive option
Target regex
\\t
Activate the Case-sensitive option

Line breaks

Checks the consistent use of the \n character in string tables.

Option
Details
Condition
Report if source matches, but target has a different number of matches
Error description
Number of \n characters does not match
Source regex
\\n
Activate the Case-sensitive option
Target regex
\\n
Activate the Case-sensitive option
Additional Information
QM Check with Regular Expressions
Register for our Newsletter now

Our newsletter provides you with exclusive news about the Across Language Server, often even before the official announcement. The newsletter also provides you with early information on events, webinars, and training sessions.

  • Legal Notice
  • GTC
  • Privacy Statement
  • Cookies
  • info@across.net