[ 
https://issues.apache.org/jira/browse/KYLIN-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17795297#comment-17795297
 ] 

zhong.zhu commented on KYLIN-5733:
----------------------------------

h1.Root Cause
When exporting the tds file, the tableau.template.xml file template is used, 
which has "USA" written in the template, so the exported tds file contains 
"USA" in Chinese characters, which has nothing to do with specifying 
Chinese/English in the Kylin interface. It has nothing to do with specifying 
Chinese/English in the Kylin interface.
{code:xml}
<semantic-values>
    <semantic-value key='[Country].[Name]' value='&quot;美国&quot;' />
</semantic-values>
{code}

h1.Dev Design
In order to minimize changes and not interfere with previous functionality, 
"USA" -> "US" in the template to meet customer needs

Since this content has been introduced from Kylin3x since 2018, it is no longer 
possible to determine the purpose of defining this label at that time, in the 
test, try to remove the semantic-values label, it can still be displayed 
normally in tableau, try to remove "USA" -> "US" can also be displayed in the 
normal query in tableau can also be displayed in the normal query, so first 
only change the Chinese characters in the template for the time being.


> Export model TDS file in English interface, including Chinese when opening 
> the file in text mode
> ------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-5733
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5733
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: 5.0-beta
>            Reporter: zhong.zhu
>            Assignee: zhong.zhu
>            Priority: Critical
>             Fix For: 5.0.0
>
>
> *Steps to reproduce the issue:*
>  # Go to a model and click “Export TDS”.
>  # Open up the file in a text editor and look at the bottom. There are 
> Chinese characters. See attachment.
> I confirmed this issue is present in 4.5.4 and .11, and likely exists in 
> other versions. The TDS file seems to work fine though.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to