Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Cross reference
 Login/Join
 
Guru
posted
Hi,

I have a report that contains titles in french.
The same report is used in an Arabic country which requires them to be shown in Arabic.
Is there a posiibility to pick the translation from French to Arabic from an external file.

Thanks for your suggestions.

Majid.


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
 
Posts: 273 | Location: Europe | Registered: May 31, 2007Report This Post
Expert
posted Hide Post
Majid,

There are translation files around but they are specifically Am-English to [language] and would only contain WF specific phrases.

Look at using separate synonym files with a TITLE attribute in the language you want. You could prefix or suffix the synonym filename with a code to depict the language (e.g. EN - English, AR - Arabic, FR - French etc.) and then just use that within your code -
-SET &Lang = 'FR';
TABLE FILE reportdata_&Lang
PRINT .... etc.

This would expand as TABLE FILE reportdata_FR etc.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Guru
posted Hide Post
Or, you can -READ the translation file into Dialogue Manager variables, one &var per column title in the language of choice and then use the &var in the table file request like PRINT col1 AS '&var1' or something like that.


WF 8.1.05 Windows
 
Posts: 333 | Location: Orlando, FL | Registered: October 17, 2006Report This Post
Virtuoso
posted Hide Post
Majid

I copied this from the manual (some people use manuals)

Using Multilingual Titles in a Request
The following Master File for the CENTINV data source specifies French titles (TITLE_FR) and
Spanish titles (TITLE_ES) as well as default titles (TITLE) for the PROD_NUM and PRODNAME
fields:
FILE=CENTINV, SUFFIX=FOC, FDFC=19, FYRT=00
SEGNAME=INVINFO, SEGTYPE=S1, $
FIELD=PROD_NUM, ALIAS=PNUM, FORMAT=A4, INDEX=I,
TITLE='Product,Number:',
TITLE_FR='Nombre,de Produit:',
TITLE_ES='Numero,de Producto:',
DESCRIPTION='Product Number', $
FIELD=PRODNAME, ALIAS=PNAME, FORMAT=A30,
WITHIN=PRODCAT,
TITLE='Product,Name:',
TITLE_FR='Nom,de Produit:',
TITLE_ES='Nombre,de Producto:'
DESCRIPTION='Product Name', $
FIELD=QTY_IN_STOCK, ALIAS=QIS, FORMAT=I7,
TITLE='Quantity,In Stock:',
DESCRIPTION='Quantity In Stock', $
FIELD=PRICE, ALIAS=RETAIL, FORMAT=D10.2,
TITLE='Price:',
DESCRIPTION=Price, $



might work for Arabic too...




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Guru
posted Hide Post
Hi Frank,

I read that part of the documentation but I was facing a problem when I had to re-create the synonyms all the translation are lost.

Regards


WebFocus 7.6.5
AND WebLogic server as web server
sql2005 as database server
 
Posts: 273 | Location: Europe | Registered: May 31, 2007Report This Post
Expert
posted Hide Post
I would do it with Dialogue Manager. Set up DM variables with text for the various column titles, headings, subtotals based on the possible languages. You could put this in an INCLUDE to be used by all programs in the system. I've done this for Canadian Federal Government bilingual systems.

-SET &LANG1 = 'F';

-SET <_CAR =
- DECODE &LANG1(
- 'F' 'VOITURE'
- 'S' 'COCHE'
- ELSE 'CAR');

-SET <_COUNTRY =
- DECODE &LANG1(
- 'F' 'PAYS'
- 'S' 'PAÍS'
- ELSE 'COUNTRY');

-SET &LH_HEADING1
- DECODE &LANG1(
- 'F' 'FICHIER VOITURE'
- 'S' 'ARCHIVO COCHE'
- ELSE 'CAR FILE');

TABLE FILE CAR
PRINT
CAR AS '<_CAR'
COUNTRY AS '<_COUNTRY'
HEADING
"&LH_HEADING1"
END


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Platinum Member
posted Hide Post
FrankDutch,
You've tought me an interesting capability of FMDs: How they can contain alternative column captions, in this case, for multiple languages applications (TITLE='..', TITLE_FR='...', etc.) but two questions arise regarding this ability:
- #1 What/where is the list of permissable 2-character keyword suffix codes?
- #2 How does one specify which of the alternate TITLE[-aa]= keyword sets is used to produce the report?
CB


WIN/2K running WF 7.6.4
Development via DevStudio 7.6.4, MRE, TextEditor.
Data is Oracle, MS-SQL.
 
Posts: 154 | Location: NY | Registered: October 27, 2005Report This Post
Expert
posted Hide Post
Look for "Multilingual Metadata" in the 7.6 Describing Data With WebFOCUS Language documentation.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders