- Messages
- 5,029
- Website
- www.xenfocus.com
All of the xenfocus text strings can be translated using extra.less
To begin, right click on your website and select "View Page Source" (or your browser equivalent) to find out what langage code is being used. The second top line will contain a lang tag. My example below uses German.
Keep this in mind for a moment.
To translate the NEW badge, add this to extra.less
To begin, right click on your website and select "View Page Source" (or your browser equivalent) to find out what langage code is being used. The second top line will contain a lang tag. My example below uses German.
Code:
lang="de-DE"
Keep this in mind for a moment.
To translate the NEW badge, add this to extra.less
Code:
<xf:if is="property('xenfocus_new_badge')">
html[lang="de-DE"] .node--unread .node-title:before{
content: 'NIEUW';
}
</xf:if>
Last edited: