Knowledgebase : Technical
Enable ENA file contains source phrases and related translations. You can reuse both source phrases and translations among different projects. To create a Repository: a) create an XML or Excel file containing all translations (use the Export function, o...
After installation, the first time you reboot your PC you will see an icon in the tray bar for configuring automatic updates. Click on it to run the update wizard. If you decide to keep your PC automatically updated, you will need to key in your PC acco...
ESC uses SCC APIs in the same way that PB IDE does. If you can connect to a SCC system from within PB IDE, then ESC can also connect to it, check out objects and apply changes (NB if an object is already checked out, changes will be applied to the local c...
Yes. Enable's multilingual database is Unicode and supports any language. In order to display Unicode languages on a PB ANSI application (PB 9 and lower), the regional setting for Non-Unicode applications must be set to the current language.
Yes, you can deploy the Runtime part of Rex. You can activate Rex from a menu or from the Rex icon (magnifying glass). You can password-protect activation and decide which plug-ins to deploy based on the user profile.
PowerBuilder uses the Control Panel's Regional settings for formatting numbers and dates.
Enable tools can be used on shared PCs or on a terminal server, but usage is limited to a single concurrent user. What are the runtime requirements for an "Enabled" application? An "Enabled" application has the same requirements as a standard PB applica...
Yes, usually you provide a single translation for each language. When needed, you can provide context-sensitive translations. Enable uses real PowerBuilder objects as contexts (e.g. windows, datawindows, menus and visual custom objects), and automatically...
The original phrase will be displayed.
In an ENA file, a proprietary file format specifically created for multilingual applications. Enable stores source phrases and translations for each language in this dictionary. Translations are not stored in a standard database for performance considerat...
The database file (.ENA) is created and maintained by Enable Author, and used by the Runtime Engine to display translated strings. The temporary file (.ENT) is a log file created by the Runtime Engine for storing new strings found in runtime, translations...
Q: Our application is not a standard PB application. We use a lot of singlelineedit, multilineedit and ddlb controls. Can I easily prevent translation for any controls which inherit from, say, u_sle? I tried ci_mode_coverage, and values in those control...
To translate nested reports, Enable relies on PowerBuilder’s GetChild function. But this function doesn’t work for Nested Reports. So if you have a Nested you need to: 1) Edit the DW source 2) change the Processing attribute to 5 (=composite) 3) Save ...
When compiling the application please check that: 1) you are using the correct engine: select from the Engine\\ folder (e.g.: Engine\PB11.5\PBD Full) 2) make sure the libraries are in your library list 3) make sure there are no other libraries from oth...
I get an error while I’m translating a dynamic menu, in of_getcontext() or of_getchildren(). Are dynamic menus supported? Dynamic menus are not directly supported by PB, but you can manipulate the items array in the code. A dynamic menu can have empty ...
Just comment the n_enable.init() method call (or put it into a IF block). When the engine is not initialized, every function call will not perform any action.
Q: How can I translate a tab folder with tab pages created on demand? A: treat these tabs with TranslateOnDemand APIs: a) put in Tab's _constructor_: _n_enable.TranslateOnDemand(THIS)_ b) in tab's _selectionchanged_ event, put: _n_enable.tab_s...
You need to add the following to your deployment list: Enable Multilingual Database (.ENA) and Enable Engine libraries (PBDs and DLLs). If you want to deploy an ENTX file, you need to add: - the PB XML libraries (PBXercesNNN.DLL, xerces*.dll) - t...
Appeon PowerServer Web is supported. In order to deploy a project with Appeon PowerServer Web you need to: 1) select the appropriate Enable Engine for Appeon (EnableEngine006_Appeon.PBL); this is an obfuscated library source 2) add to your library lis...
Extractor automatically captures string assignment by default. As an example: string ls ls = "try this" will find "try this" in context "" (check your rules for the "Default var context" option). To exclude all string assignments, simply add a filte...
Parametric phrases are very powerful and allow you to parametrize strings. Strings like 'Customer: @1' match every string that starts with 'Customer: ', like 'Customer: ACME inc'. However checking phrases as parametric is enabling pattern searching, an...
Why do I get error -18 when initializing Enable Engine with init() call? When you save a multilingual database with a trial version, it is marked with an expiry date. In order to remove the mark, open the multilingual database file (.ENA) with a fully ...
Datawindows created dynamically with CreateSyntax (or modified dynamically in a similar way) can be translated and captured by using the Translate function just after the commands that change the datawindow, as: dw_1.CreateSyntax(...) n_enable.Transla...
Q: When running in coverage/authoring or in authoring mode, my strings are not captured. Why? A: Strings are captured when you are running in a target language. When the Translate API is called, a string is captured if: - the engine is not running in ...
Q: My application is running in a target language and in authoring mode. But I see some strings captured in target language, not in source! Is it a bug? A: Strings must be captured in source language only. There are two APIs for translating objects and...
Some users have reported that they get a SySAM error when running ESC and changing source with a specific PB version. Make sure that: 1) your target PB version license is still valid, and that you can run that PowerBuilder version 2) you didn't c...
Q: When I close my MDI frame, the string capturing window is still running, and I need to close it explicitly. Can I close it when my application's last window closes? A: PowerBuilder stops the event handling when the last window is closed or when a...
Q: When running my application from PB IDE, I frequently get the following error message at startup: "Error: Error opening DLL library enableengine005 for external function at line 4 in constructor event of object n_enable_dbena". This requires a...
Parametric phrases are phrases that contain variables (or parameters). A typical case is: "Page @1 of @2", a parametric phrase that can match any string like "Page .* of .*" (regular expression, match PB function syntax). When a phrase contains paramete...