Skip to main content

Web Pages

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 https://wordbee.atlassian.net/wiki/spaces/WBT/pages/711314 page.

To learn more about common Web Pages configurations heard by our support team, please see the https://wordbee.atlassian.net/wiki/spaces/WBT/pages/711314 section.

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.