-
AuthorPosts
-
nant Friend
nant
- Join date:
- October 2007
- Posts:
- 10
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
December 25, 2009 at 11:27 am #147076Hi there, I have installed the Teline III template with basically no Joomla content to start with.
I also installed Joomfish and I am trying to test things out.Need assistance regarding what needs to be done to translate the following elements:
+ template Logo text
+ template slogan
+ date that appears in left corner (frontend)
+ Last update: string that appears in frontend
+ You are here: string that appears in frontendIf something relevant has been posted please direct me to it and excuse me not finding it on my own.
1 user says Thank You to nant for this useful post
VisiGod FriendVisiGod
- Join date:
- January 2006
- Posts:
- 538
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 76
- Thanked:
- 138 times in 18 posts
December 26, 2009 at 5:45 pm #327533you need to put jtext strings instead of hardcoded texts
nant Friendnant
- Join date:
- October 2007
- Posts:
- 10
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
December 26, 2009 at 8:00 pm #327534Thank you for responding.
I see what you are saying, just need an extra push I guess.
For example: in the Logo text field in the Extensions -> Template Manager backend what string should I put to trigger translation?
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
December 30, 2009 at 3:29 am #327740Hi there
Please open templatesja_teline_iiilayoutsblocksheader.php file, find following code section:
$logoText = (trim($this->getParam('logoText'))=='') ? $config->sitename : $this->getParam('logoText');$sloganText = (trim($this->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $this->getParam('sloganText'); ?>
and change to:
$logoText = (trim($this->getParam('logoText'))=='') ? $config->sitename : JText::_($this->getParam('logoText'));
$sloganText = (trim($this->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : JText::_($this->getParam('sloganText')); ?>
I am example: if your logo text is Karpathiopolis with english language, please open en-GB.ini in language/en-GB folder, add following code to the end of file:
KARPATHIOPOLIS = Karpathiopolis
Please do the same with other language.
Hope it helps
1 user says Thank You to JA Developer for this useful post
nant Friendnant
- Join date:
- October 2007
- Posts:
- 10
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
December 30, 2009 at 8:39 am #327772That helped, but the tranlated text is always displayed in small caps format (upper case small font) – how can this be changed?
Also, the date displayed in upper left corner is still not translated – how can this be fixed?
Thank you for your responses so far.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
December 31, 2009 at 7:05 am #327850Hi nant
We have replied your ticket. Please check it
nant Friendnant
- Join date:
- October 2007
- Posts:
- 10
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
December 31, 2009 at 10:06 am #327879Thank you.
Everything worked.
Have a slightly different issue – will start new thread.
peters256 Friendpeters256
- Join date:
- January 2010
- Posts:
- 20
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
January 2, 2010 at 2:54 pm #327967hello,
and is it possible to do the same thing but with the image of the logo rather than text ?
The idea is to have 2 images (logo and text); one for each language.
Perhaps it is possible to have the logo type as image with a slogan ? And only the slogan ‘ll change with the language…
Thank you for the future response
RegardsPeters
-
AuthorPosts
This topic contains 8 replies, has 4 voices, and was last updated by peters256 14 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum