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.

Tagged: 

This topic contains 19 replies, has 2 voices.

Last updated by mattiasL-9 1 year, 9 months ago.

Assisted by: Andreas.

Author Posts
March 28, 2023 at 5:22 am #13345129

mattiasL-9

If i translate the string i dont need different prices per language (which i have tried to explain from the beginning).

Because the currency i swedish kronor. And in sweden the currency is displayed with kr, and for the rest of the world the swedish currency is displayed as SEK.

March 28, 2023 at 1:27 pm #13349707

Andreas

Thank you for your message.

I have tried to test this scenario, I mean to change the currency from ST but it didn't work for me. Have you tried and it is working ? If yes may I ask you to share a screenshot from String Translation in order to see what you are doing?

Looking forward to your reply

Regards,
Andreas

March 28, 2023 at 2:59 pm #13350609

mattiasL-9

I have also tried that, but no luck for me either.

It should be a string right?
I mean you can translate everything that is visible on the site, so the currency should also be "translatable"?

March 29, 2023 at 10:19 am #13356651

Andreas

Thank you for your reply.

Currency is coming dynamically in the frontend, is not a hard string, and this is the reason string translation is not working for this case.

I have double-checked it just to confirm it because you mention it and I thought you make it work somehow.

I have shared this with you already my proposal for custom code. You can give a try and see if this can help you.

If you are not able to accomplish this, you could also try to hire a WPML contractor (https://wpml.org/contractors/)

If you need further help or do not hesitate to leave a comment.

Regards,
Andreas