עברית על קוד XML - תכנות - HWzone פורומים
עבור לתוכן
  • צור חשבון

עברית על קוד XML


shaithebest

Recommended Posts

שלום חברים

אני עובד עכשיו עם תבניות פלאש דרך XML

כאשר אני מנסה להכניס טקסט עברי יוצא בשפת מראה

השאלה היא איפה בקוד מכניסים את הDIR=RTL הידוע??

להלן הקוד:

<?xml version="1.0" encoding="UTF-8"?>
<content>
<!-- general vars -->
<settings>
<item name="companyName1_1st_Letter"><![CDATA[<b>W</b>]]></item>
<item name="companyName1"><![CDATA[<b><font letterSpacing="-3">omen<font color="#151515">’s</font></font></b>]]></item>
<item name="companyName2"><![CDATA[<font letterSpacing="-1"><b>STORE</b></font>]]></item>

<icon imageUrl="images/tfile_icon1.png" link="[url]http://www.youtube.com"/>[/url]
<icon imageUrl="images/tfile_icon2.png" link="[url]http://www.flickr.com"/>[/url]
<icon imageUrl="images/tfile_icon3.png" link="[url]http://www.twitter.com"/>[/url]

<!--Parameters for social sharing and bookmarking widget (right top). -->
<shareUrl url="[url]http://www.demolink.org"/>[/url] <!-- Fan Page url, where the Flash template is embedded-->
<shareTitle text= "Site_Name"/> <!--page name-->

<iconShare imageUrl="images/tfile_iconShare1.png"/>
<iconShare imageUrl="images/tfile_iconShare2.png"/>
<iconShare imageUrl="images/tfile_iconShare3.png"/>
<iconShare imageUrl="images/tfile_iconShare4.png"/>

<image imageUrl="images/tfile_logo_image.png"/>

</settings>

<!-- menu -->

<menu deltaX="11">
<button name='splash'><![CDATA[]]></button>

<button><![CDATA[<b>Home</b>]]></button>
<button><![CDATA[<b>Shop</b>]]></button>
<button><![CDATA[<b>New Products</b>]]></button>
<button><![CDATA[<b>Contacts</b>]]></button>

</menu>

<categoryMenu itemW="87">
<button imageUrl="images/tfile_catMenu_icon1.png" nameCat="clothing"><![CDATA[Clothing]]></button>
<button imageUrl="images/tfile_catMenu_icon2.png" nameCat="shoes"><![CDATA[Shoes]]></button>
<button imageUrl="images/tfile_catMenu_icon3.png" nameCat="accessories"><![CDATA[Accessories]]></button>
<button imageUrl="images/tfile_catMenu_icon4.png" nameCat="lingerie"><![CDATA[Lingerie]]></button>
<button imageUrl="images/tfile_catMenu_icon5.png" nameCat="toys"><![CDATA[Toys]]></button>
<button imageUrl="images/tfile_catMenu_icon6.png" nameCat="jewelry"><![CDATA[Jewelry]]></button>
</categoryMenu>

<map_xml >
<!--
To make Maps work in your own web pages, you should get your unique key to API Maps for your domain. See this for more information:
[url]http://code.google.com/intl/en/apis/maps/signup.html[/url]
-->
<Google_Maps_API_Key><![CDATA[ABQIAAAAWCGzSMrk7YDL2KSdECDFthRCU6CW1wRB4NQsX5PSi 053h5zzZhQIZ5ivn4VAQx53xyYuNrvkOmgO1w]]></Google_Maps_API_Key>

<!-- Define the location where the map will open - latitude, longitude and zoom -->
<map_center lat="40.706425" lon="-74.009491" zoom="15"/>

<!-- Define your offices' locations -->
<location>
<lat>40.713000</lat>
<lon>-74.015000</lon>
<name_tip>Office 1</name_tip>
<title_tip><![CDATA[Office 1]]></title_tip>
<content_tip><![CDATA[Office 1 Title]]></content_tip>
</location>

<location>
<lat>40.705000</lat>
<lon>-74.012000</lon>
<name_tip>Office 2</name_tip>
<title_tip><![CDATA[Office 2]]></title_tip>
<content_tip><![CDATA[Office 2 Title]]></content_tip>
</location>

<location>
<lat>40.710000</lat>
<lon>-74.000000</lon>
<name_tip>Office 3</name_tip>
<title_tip><![CDATA[Office 3]]></title_tip>
<content_tip><![CDATA[Office 3 Title]]></content_tip>
</location>

</map_xml>

<!-- pages -->

<!-- URL images linkURL="[url]http://www.demolink.org"[/url] linkPage = "1 " - (1 - Num read More) -->


<shop name="catalogue">

<products business="testshop@demolink.org" currencyCode="$" row ="2" col="3" stepX="11" stepY="11">



<!-- ////////////////////////////////////////// CLOTHING CATEGORY ////////////////////////////////////////// -->


<!-- PRODUCT 1 -->
<product cat="clothing">

<gallery smImgW="150" smImgH="140" deltaX="10" bigImgW="250" bigImgH="220">
<ik_image color="Light green">images/products/clothing/product1/tfile_clothing_lightGreen_ik_product1.jpg</ik_image>
<sm_image color="Light green">images/products/clothing/product1/tfile_clothing_lightGreen_sm_product1_1.jpg</sm_image>
<sm_image color="Light green">images/products/clothing/product1/tfile_clothing_lightGreen_sm_product1_2.jpg</sm_image>
<big_image color="Light green">images/products/clothing/product1/tfile_clothing_lightGreen_big_product1_1.jpg</big_image>
<big_image color="Light green">images/products/clothing/product1/tfile_clothing_lightGreen_big_product1_2.jpg</big_image>
<zoom_image color="Light green">images/products/clothing/product1/tfile_clothing_lightGreen_zoom_product1_1.jpg</zoom_image>
<zoom_image color="Light green">images/products/clothing/product1/tfile_clothing_lightGreen_zoom_product1_2.jpg</zoom_image>

<ik_image color="Red">images/products/clothing/product1/tfile_clothing_red_ik_product1.jpg</ik_image>
<sm_image color="Red">images/products/clothing/product1/tfile_clothing_red_sm_product1_1.jpg</sm_image>
<sm_image color="Red">images/products/clothing/product1/tfile_clothing_red_sm_product1_2.jpg</sm_image>
<big_image color="Red">images/products/clothing/product1/tfile_clothing_red_big_product1_1.jpg</big_image>
<big_image color="Red">images/products/clothing/product1/tfile_clothing_red_big_product1_2.jpg</big_image>
<zoom_image color="Red">images/products/clothing/product1/tfile_clothing_red_zoom_product1_1.jpg</zoom_image>
<zoom_image color="Red">images/products/clothing/product1
<!-- privacy policy -->


</content>

קישור לתוכן
שתף באתרים אחרים

XML זה פשוט פורמט של נתונים. אין משמעות ל"כיוון" של הנתונים הללו (dir=rtl זה ב-html, לא xml).

הבעיה היא בפלאש, שהתמיכה שלו בעברית גרועה.

יש קצת פתרונות בגוגל, אתה יכול לנסות חלק מהם.

קישור לתוכן
שתף באתרים אחרים

לא צריך למחוק את האשכול, אתה יכול פשוט לשנות את הכותרת ואת השאלה שתהיה יותר רלוונטית (כאמור, הבעיה היא לא ב-xml אלא בפלאש).

כמו שאמרתי, dir=rtl זה רלוונטי ל-html. למרות שהם נראים דומה, אין קשר ישיר בין xml ל-html. יכול להיות שיש מסויימות שמשתמשות בקבצי xml שיש בהם משמעות לעשות dir=rtl, אבל זה כבר תלוי באפליקציה, ואין לזה קשר ל-xml עצמו.

קישור לתוכן
שתף באתרים אחרים

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

×
  • צור חדש...