In XSL-FO multi language Problem

admin

Administrator
Staff member
Hi All,

I am developing a XSL-FO template for Multi language purpose In XML Publisher.
In this I am facing some problems. And I am giving test as in English Then it is working.
If language is other than English then error out. How I can solve this problem

This is English test it is ok
<xsl:variable name="ADDITIONAL_INFO1">
<xsl:text>* * * PURCHASE ORDER AND RELEASE NUMBER, IF ANY, MUST APPEAR ON ALL PACKAGES, CORRESPONDENCE AND INVOICES RELATIVE TO THIS ORDER * * *</xsl:text>
</xsl:variable>

Here why I have taken variable to passing values (TEXT)Because I need to use different places .
If text is in different language and if text having some special character (Zus鋞zlichen ) then output is not generating in the PDF Format .

This text is French language text. Fail
<xsl:variable name="ADDITIONAL_INFO2">
<xsl:text>Zus鋞zlichen, oder hieamounts on this order are expressed in</xsl:text>
</xsl:variable>

even I am setting language(French language ) attribute at block level even though Output is not generating


This following text sample text and my template having more than 3000 lines .

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format" >

<fo:block hyphenate="true" language="fr">
<xsl:variable name="ADDITIONAL_INFO1">
<xsl:text>* Cette ligne du bon de commande a 閠?ANNULEE le</xsl:text>
</xsl:variable>
</fo:block>

Here I am having one single XSL-FO template, in that I am using different variables for different language 憇 text.
and I need to develop 15 languages (using variables ) with one single template.
Actually I need to integrate in xml publisher in oracle application.

Here my basic doubt is the XSL-FO single template Supported to multi languages or not?
And is there any changes in the encoding="UTF-8"

Advance thanks for you

Thanks,
Sharan.
 
Back
Top