Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

The following file extensions are supported when setting up file format configurations for Web Pages: .htm, .html, .xhtml, . htmls, .php, .php2, .php3, .php4, .php5, .php6, .phtml, .csm, .jsp, .ahtm, .ahtml.

For more information, please see the following sections: 

 

Default Web Page Configuration

Every file format has a default configuration to ensure that a file can be translated; however, it does not handle every complex property that could be thrown your way when translating a source file. The default configuration for Web Pages does the following: 

  • Uses UTF-8 as the default character encoding.
  • Converts characters not compatible with the target encoding into entity references.

  • Compresses sequences of whitespaces into a single whitespace.

  • Enables SRX rules for text segmentation.

  • Enables the use of //notrans, //beginnotrans ... //endnotrans to delimit not translatable code.

  • Extracts quoted strings.

  • Defines specific translatable attributes for extraction.

Custom Web Page Configurations

If you use Web Page content for translations, a custom file format configuration might be necessary to achieve the right results in your target file. Outside of the default configuration selections, Wordbee Translator offers many additional choices for configuring:

  • HTML Code
  • HTML Attributes
  • Content Exclusion
  • Text Segmentation
  • Extracting & Excluding Quoted Strings
  • Including/Excluding Additional Content
  • Configuring Translatable Attributes and Tags
  • CMS Specific Settings

A Few Examples

The following are just a few examples of what you can do with a custom Web Pages configuration in Wordbee Translator. For more advanced examples, please see our Web Pages Questions and Answers page.

HTML Content

While the default configuration is thorough enough to tackle most translation needs, it is not configured to handle HTML content. This is one of the biggest reasons to create a custom file format configuration for your Web Pages files.

With Wordbee Translator, you have the option to mark the content as HTML to ensure it is translated correctly. By ticking this option, Wordbee is informed that the content is HTML and you are able to create a custom HTML configuration or use the default to complete file translation.

Loading Advanced Properties

Some CAT tools include information that is beyond common Web Pages standards. Wordbee Translator offers an option for loading these more advanced properties, specifically the ability to extract the SDL 'origin' attribute that specifies the origin of the translation. 

Excluding Content

In some instances, you might need to exclude a specific phrase or text segment from the translation. This can be done by entering the phrase within the Exclude Content section of the configuration.

 

To learn more about common Web Pages configurations heard by our support team, please see the Web Pages Questions and Answers section.

For more information about available configuration options when working with Web Pages files, please see the Web Page Configuration Options page.

  • No labels