- Posts: 2
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED]Trying translate "About Author" and "Response Found"
[SOLVED]Trying translate "About Author" and "Response Found"
- Kasper
-
Topic Author
- Offline
- New Member
Less
More
10 years 1 month ago - 10 years 1 month ago #142954
by Kasper
[SOLVED]Trying translate "About Author" and "Response Found" was created by Kasper
Hi,
I'm using joomla 3.4 and K2 v2.6.9 with dutch languages.
Everything works fine but i cannot find 2 words to change in Dutch.
I open and check every file in the languages map files dutch and english, front and backend. That was a long work, hihihi
Also i try the constant and value for override backend of the website, but also there i cannot find the 2 words.
I use firebug and then i seeand
I also think the constant of "about Author" is K2_ABOUT_AUTHOR when i look on google, but it didn't help me further. Also the search on this community give me no answer.
So that's why i think i have to look in the K2 files. Where i can find in the files to change it?
I'm using joomla 3.4 and K2 v2.6.9 with dutch languages.
Everything works fine but i cannot find 2 words to change in Dutch.
I open and check every file in the languages map files dutch and english, front and backend. That was a long work, hihihi
Also i try the constant and value for override backend of the website, but also there i cannot find the 2 words.
I use firebug and then i see
<h3 class="k2IModuleTitle">About Author</h3>
<h3 class="k2IModuleTitle"><span>1</span>Response Found</h3>
I also think the constant of "about Author" is K2_ABOUT_AUTHOR when i look on google, but it didn't help me further. Also the search on this community give me no answer.
So that's why i think i have to look in the K2 files. Where i can find in the files to change it?
Last edit: 10 years 1 month ago by Kasper. Reason: solved
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 month ago #142980
by Krikor Boghossian
Replied by Krikor Boghossian on topic Trying translate "About Author" and "Response Found"
Open the module's file and double check if the language strings are hardcoded.
Normally the comment strings should be: K2_COMMENT, K2_COMMENTS and K2_BE_THE_FIRST_TO_COMMENT.
Also the About Author seems to be a custom language string in your template. You need to locate that string and manually translate it.
Normally the comment strings should be: K2_COMMENT, K2_COMMENTS and K2_BE_THE_FIRST_TO_COMMENT.
Also the About Author seems to be a custom language string in your template. You need to locate that string and manually translate it.
Please Log in or Create an account to join the conversation.
- Kasper
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 2
10 years 1 month ago #142984
by Kasper
Replied by Kasper on topic Trying translate "About Author" and "Response Found"
Hi Krikor,
Thanx for your response.
I found the "About Author" with your information. It was in /templates/template_name/html/com_k2/templates/default/item.php file
And the Response Found, i had to change the code in the same file as About Author :
The problems are fixed, thanx for your help!!
Thanx for your response.
I found the "About Author" with your information. It was in /templates/template_name/html/com_k2/templates/default/item.php file
And the Response Found, i had to change the code in the same file as About Author :
<h3 class="k2IModuleTitle">
<span><?php echo $this->item->numOfComments; ?></span> <?php echo ($this->item->numOfComments>1) ? JText::_('Responses Found') : JText::_('Response Found'); ?>
</h3>
The problems are fixed, thanx for your help!!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 4 weeks ago #143001
by Krikor Boghossian
Replied by Krikor Boghossian on topic Trying translate "About Author" and "Response Found"
You 're welcome Kasper :)
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED]Trying translate "About Author" and "Response Found"