User Tools

Site Tools


extracttext_identify_text_to_translate_.htm
Navigation:  ABC Library Reference > TranslatorClass > TranslatorClass Properties >====== ExtractText (identify text to translate) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
ExtractText CSTRING(File:MaxFilePath)

blk2blue.jpg

The ExtractText property contains the pathname of a file to receive a list of runtime user interface text to translate. If ExtractText contains a pathname, the TranslatorClass identifies, extracts, and writes the user interface text it encounters at runtime to the named file.

To generate a complete list of text to translate, assign a filename to the ExtractText property, compile and run your application, then open each procedure, menu, and option in the application. When you close the application, the TranslatorClass generates a sorted list of all the untranslated text items. You can then use this information to provide appropriate translations for the untranslated text. See AddTranslation for more information.

For applications that do dynamic text assignments based on data, you may even want to set the ExtractText property when you deploy your application, so you can collect the text that actually appears on end user screens based on the specific ways the end users work and the data they access.

Implementation:

The ExtractText property defaults to blank. A value of blank does not extract untranslated text. A non-blank value extracts the text, and a valid pathname writes the untranslated text to the specified file.

See Also:     AddTranslation

extracttext_identify_text_to_translate_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1