Jump to content

Featured Replies

Posted

Add Phrase is a new tool added to Language, there any tutorial about it?

 

 

Edited by Nathan Explosion

  • Author
2 hours ago, Nathan Explosion said:

 

 

Is possible leave an example here? I'm not developer, so many times need understanding how it work or the mechanism with an example. 

Thank in advance 

If you wanted to create some text in the interface that you wanted to be able to translate to different languages, you can create a language string and use that instead of just embedding the text in a template. That's mostly what it comes down to.

  • Author

For example, I have a tag created to show specific topics in a widget, this tag is in spanish "Alertas Sociales", can I place this tag string as Fhrase, when users navigate my site in Chinese language, they can see the tag string translabled in chinese instead "Alertas Sociales"? 

1 hour ago, kmk said:

Is possible leave an example here?

The linked article has example usage in it!!!

Anyway...

1) Add the phrase
2) Edit template/page
3) Add it in (see screenshot 1)
4) View (see screenshot 2)

 

image.png.71d7f51e569f241c84c1cca4167f4e13.png

 

image.png.43229b61da94b3192b5632be8a4b61bb.png

46 minutes ago, kmk said:

For example, I have a tag created to show specific topics in a widget, this tag is in spanish "Alertas Sociales", can I place this tag string as Fhrase, when users navigate my site in Chinese language, they can see the tag string translabled in chinese instead "Alertas Sociales"?

Possibly/probably/maybe/maybe not...I'm sure you'll provide us with the code of the widget's template when you come back for further assistance 😉

 

  • Author
On 8/31/2020 at 10:19 AM, Nathan Explosion said:

I'm sure you'll provide us with the code of the widget's

Will be problem if the widget is from 3party plugin (Topics by Tags) ? 

But the tags is part of ips core, not feature of the plugin. 

Recently Browsing 0

  • No registered users viewing this page.