test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • nant Friend
    #147076

    Hi 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 frontend

    If something relevant has been posted please direct me to it and excuse me not finding it on my own.

    VisiGod Friend
    #327533

    you need to put jtext strings instead of hardcoded texts

    nant Friend
    #327534

    Thank 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 Moderator
    #327740

    Hi 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

    nant Friend
    #327772

    That 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 Moderator
    #327850

    Hi nant

    We have replied your ticket. Please check it

    nant Friend
    #327879

    Thank you.

    Everything worked.

    Have a slightly different issue – will start new thread.

    peters256 Friend
    #327967

    hello,

    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
    Regards

    Peters

Viewing 8 posts - 1 through 8 (of 8 total)

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