Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2020-04-14 08:10:34

chumby
Member
Registered: 2014-10-23
Posts: 188

Languages - Product Title

Hi there,

I have managed to get my second language (Chinese Smplified) appearing ok in my product description in Cart by using DIV tags such as the below.

<div data-lang="en">
<ul>
<li>Suitable to print Large Posters and Wall Hanging Pictures
<li>The image has been prepared in the 4:3 ratio
<li>Approximate file size is 10-15 Mb
<li>Image will be available for download after confirmation of purchase and consequent upload to servers
</ul>
</div>

<div data-lang="zh-Hans">
<ul>
<li>适合打印大型海报和壁挂画
<li>图像以4:3的比例准备
<li>大约文件大小为10-15 Mb
<li>确认购买并随后上传到服务器后,即可下载图像
</ul>
</div>

I can't seem to be able to change the product title - using div or span tags.  Any ideas? I have tried below:

<div data-lang="en">HiRes Image (4:3)</div><div data-lang="zh-Hans">高分辨率图像(4:3)</div>

Offline

#2 2020-04-14 11:09:48

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Languages - Product Title

I don't know if this is the case here, but sometimes you need to use the span element:

<span data-lang="en">HiRes Image (4:3)</span><span data-lang="zh-Hans">高分辨率图像(4:3)</span>

Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#3 2020-04-14 14:05:15

chumby
Member
Registered: 2014-10-23
Posts: 188

Re: Languages - Product Title

Thanks Dan,

Tried that as well but no good unfortunatley.

Maybe you cannot not add markup in this field as there is no markdown reference?

Cheers
Chumby

Offline

#4 2020-04-15 10:36:32

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Languages - Product Title

I don't know why it doesn't work with that field. I tried on my test site as well and I was not successful.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#5 2020-04-15 11:02:50

chumby
Member
Registered: 2014-10-23
Posts: 188

Re: Languages - Product Title

Yea, would be nice to have a workaround for this... I would think it would be pretty important if I was going to purchase something online (in my own native language) I could actually read what it was called.

Saying that, I suppose I could put the Product Title as the first line in the description to get through.

Thanks for the help Daniel.

Cheers,
Chumby

Offline

Board footer

Powered by FluxBB