- Posts: 46
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- Where to translate K2_IS_IT_FEATURED for front-end editing
Where to translate K2_IS_IT_FEATURED for front-end editing
- Christophe BERTRAND
- Topic Author
- Offline
- Senior Member
Less
More
7 years 3 weeks ago #165042
by Christophe BERTRAND
Where to translate K2_IS_IT_FEATURED for front-end editing was created 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.
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.
- william white
- Offline
- Platinum Member
Less
More
- Posts: 3722
7 years 3 weeks ago #165043
by william white
Replied by william white on topic Where to translate K2_IS_IT_FEATURED for front-end editing
where did you change it?
There are two instances i find in the 2.8 filesI dont get it either, maybe someone else will know
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)
Please Log in or Create an account to join the conversation.
- Christophe BERTRAND
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 46
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.
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
- Offline
- Platinum Member
Less
More
- Posts: 15920
7 years 3 weeks ago #165085
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
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
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.
- Forum
- K2 Community Forum
- English K2 Community
- Where to translate K2_IS_IT_FEATURED for front-end editing