Keyword

Where to translate K2_IS_IT_FEATURED for front-end editing

  • Christophe BERTRAND
  • Christophe BERTRAND's Avatar Topic Author
  • Offline
  • Senior Member
More
7 years 3 weeks ago #165042 by Christophe BERTRAND
Hi ,

For the purposes of my site, I want to translate K2_IS_IT_FEATURED chain to be able to see something else than 'featured item' when I create or edit a K2 item.

With the language substitution i find the chain K2_IS_IT_FEATURED for administration, translate it as I want and it works fine when I create or edit a K2 item thru the back-end.

But, when I create or edit from the Front-end, it stills shows 'featured item' and not the translation I set and that works when using thru back-end !

I can't figure out why !

Would someone have an idea ?

Thanks for the help.

Please Log in or Create an account to join the conversation.

More
7 years 3 weeks ago #165043 by william white
where did you change it?
There are two instances i find in the 2.8 files
Search "K2_IS_IT_FEATURED" (2 hits in 2 files)
  C:\Joomla\K2_v2.8.0\administrator\components\com_k2\views\item\tmpl\default.php (1 hit)
	Line 87: 							<label for="featured"><?php echo JText::_('K2_IS_IT_FEATURED'); ?></label>
  C:\Joomla\K2_v2.8.0\administrator\language\en-GB\en-GB.com_k2.ini (1 hit)
I dont get it either, maybe someone else will know

Please Log in or Create an account to join the conversation.

  • Christophe BERTRAND
  • Christophe BERTRAND's Avatar Topic Author
  • Offline
  • Senior Member
More
7 years 3 weeks ago #165044 by Christophe BERTRAND
Replied by Christophe BERTRAND on topic Where to translate K2_IS_IT_FEATURED for front-end editing
Yes it is strange, the language substitution doesn't work for the front-end.
But thanks to your post, I changed it directly into the file.
At least this works (even if I will have to redo it every time I update).
Thanks again for your help.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 3 weeks ago #165085 by Krikor Boghossian
Replied by Krikor Boghossian on topic Where to translate K2_IS_IT_FEATURED for front-end editing
You can also use Joomla!'s language overrides.
docs.joomla.org/J3.x:Language_Overrides_in_Joomla

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum