Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

How to use html tags like span, bold etc in RESX file?

$
0
0

I have started creating a RESX file for localization and shared this file between Android & iOS. Everything seems to be working fine for me, but as part of requirement I need some part of the string to be made bold. So, how can I achieve this in resx file as its XML based file, I could not get even CDATA to be made working.

Please find the sample text which I have used below two ways -
ONE :

data name="SampleText" >
This is a sample text Text2 ® Hi from <![CDATA[<b> Introduction ]]>

</data

TWO :
data name="SampleText" >
This is a sample text Text2 ® Hi from <b> Introduction </b>

</data

Then the output string isn;t bold for Introduction text. Other things like trademark, newline is working like a charm.

Kindly help me in resolving the above issue.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>