Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by Alexandre LANCELIN 5 years, 10 months ago.

Author Posts
March 3, 2016 at 10:53 am #829000

emelieC

Hello,

I am trying to translate some content that is written in CSS. Here is the code I am using:

.pull-down:after {
content: "PLAY NOW";
font-size: 20px;
font-weight: 600;
}

The content "PLAY NOW" needs to be translated to Japanese. I have found this link with possibilities but I don't know how to combine them in my specific case.

hidden link

I have attached an image where you can see the PLAY NOW button.

You will find it in the header on this site:
hidden link

Hope you guys can help me!

Screen Shot 2016-03-03 at 11.45.50.png
March 3, 2016 at 10:59 am #829009

emelieC

I have to managed to solve it by adding this:

.pull-down:lang(ja):after{
content: "今すぐプレイ";
}

Hope this can help somebody! 🙂

March 12, 2021 at 6:53 pm #8297557

Alexandre LANCELIN

Oh my god. THANK YOU VERY MUCH.

After few hours of trying some CSS with the lang value, YOU solve my problem.