Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • waelali Friend
    #174432

    Hi

    As attached image describes, there is few problems in the header – top header order of words and numbers – translations problems.
    Please open the attached image to undesratnd what I am talking about.

    Hope to get solution for that soon.

    http://www.xn--mgbfwa6f4b.com

    Thank you


    1. 4
    steinar Friend
    #440948

    Here are answers to two of your questions, with the caveat that my setup may differ somewhat from yours:

    Translation of Headlines: See Module Manager >> mod_janewsticker >> setting display

    Date format: See Templates >> ja_teline_iv >> blocks >> topbar.php
    Provided your setup look somewhat like this, all that needs to be done is to shift around two lines. (The capital M in the month line will give you the short month name instead of the month number)

    [PHP] <p class=”ja-day clearfix”>
    <?php
    echo “<span class=”day”>”.JText::_(strtoupper(date (‘D’))).”</span>”;
    echo “<span class=”date”>”.date (‘d’).”</span>”;
    echo “<span class=”month”>”.date (‘M’).”</span>”;
    echo “<span class=”year”>”.date (‘Y’).”</span>”;
    ?>
    </p>[/PHP]

    Hope this helps. I have translated Last update on my own site, but at the moment I can’t recollect how I did it…! Someone else?

    waelali Friend
    #440956

    <em>@steinar 304003 wrote:</em><blockquote>Here are answers to two of your questions, with the caveat that my setup may differ somewhat from yours:

    Translation of Headlines: See Module Manager >> mod_janewsticker >> setting display

    Date format: See Templates >> ja_teline_iv >> blocks >> topbar.php
    Provided your setup look somewhat like this, all that needs to be done is to shift around two lines. (The capital M in the month line will give you the short month name instead of the month number)

    [PHP] <p class=”ja-day clearfix”>
    <?php
    echo “<span class=”day”>”.JText::_(strtoupper(date (‘D’))).”</span>”;
    echo “<span class=”date”>”.date (‘d’).”</span>”;
    echo “<span class=”month”>”.date (‘M’).”</span>”;
    echo “<span class=”year”>”.date (‘Y’).”</span>”;
    ?>
    </p>[/PHP]

    Hope this helps. I have translated Last update on my own site, but at the moment I can’t recollect how I did it…! Someone else?</blockquote>

    Thank you so much my friend πŸ™‚ The 2 bugs were fixed.. you are the best.

    What about the Last Updated issue as described in the image??

    Why do not you report all of these issues to development team so they can take care of that in the next version??!

    Thank you

    steinar Friend
    #440981

    <em>@waelali 304015 wrote:</em><blockquote>What about the Last Updated issue as described in the image?</blockquote>

    Try this file: Language >> en-GB >> en-GB.tpl_ja_teline_iv.ini.
    I think you will find the last update phrase there, ready for translation. Copy this line into the corresponding Arabic file. If there is no such file in the Arabic folder, just copy the entire file (and replace the en-GB prefix).

    <em>@waelali 304015 wrote:</em><blockquote>Why do not you report all of these issues to development team so they can take care of that in the next version??!</blockquote>

    The settings are correct in most instances (like American English for the date format). The many variations must be handled locally, I think.

    Good luck and good night πŸ™‚

    waelali Friend
    #440992

    <blockquote>I think you will find the last update phrase there, ready for translation. Copy this line into the corresponding Arabic file. If there is no such file in the Arabic folder, just copy the entire file (and replace the en-GB prefix).</blockquote>

    No – It is not there , in that file.

    Actually I made a search and found the only “Last updated” is in ar-DZ, and it is translated well , however we still see the native English Phrase.

    Thank you

    yn4ever Friend
    #441150

    <em>@waelali 304060 wrote:</em><blockquote>No – It is not there , in that file.

    Actually I made a search and found the only “Last updated” is in ar-DZ, and it is translated well , however we still see the native English Phrase.

    Thank you</blockquote>
    me too cant find headlines word

    waelali Friend
    #441152

    <em>@yn4ever 304270 wrote:</em><blockquote>me too cant find headlines word</blockquote>

    mmmmm πŸ™ seems it came from no where πŸ™‚

    Cannot we know using Inspect in Firefox??

    steinar Friend
    #441246

    Hi guys,

    I have Teline iv in a Joomla 2.5 install so it might of course be different from your setup. But please try adding this line to the file Language >> en-GB >> en-GB.tpl_ja_teline_iv.ini and (with translation of the words inside quotes) the corresponding localized file:

    LAST_UPDATE=”Last update”

    <em>@yn4ever 304270 wrote:</em><blockquote>me too cant find headlines word</blockquote>

    I said in an earlier post in this thread that you would find the translation of headlines here:
    Module Manager >> mod_janewsticker >> setting display.
    But you can only see it when Show head text in the same location is set to YES.

    Hope this helps.
    πŸ™‚

    waelali Friend
    #441251

    <blockquote>
    I have Teline iv in a Joomla 2.5 install so it might of course be different from your setup. But please try adding this line to the file Language >> en-GB >> en-GB.tpl_ja_teline_iv.ini and (with translation of the words inside quotes) the corresponding localized file:

    LAST_UPDATE=”Last update”</blockquote>

    No – this is not working – even added that to the English version and saved the file as Unicode , and also added a new file to the Arabic folder and saved it as Unicode since Arabic is not ascii , however is not working yet

    <blockquote>I said in an earlier post in this thread that you would find the translation of headlines here:
    Module Manager >> mod_janewsticker >> setting display.
    But you can only see it when Show head text in the same location is set to YES.</blockquote>
    This is ok and I did that last night

    steinar Friend
    #441262

    <em>@waelali 304387 wrote:</em><blockquote>No – this is not working – even added that to the English version and saved the file as Unicode , and also added a new file to the Arabic folder and saved it as Unicode since Arabic is not ascii , however is not working yet

    Well then, how about this:

    [PHP]<p class=”ja-updatetime”><span><?php echo JText::_(‘LAST_UPDATE’)?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p>
    [/PHP]

    The address is Templates >> ja_teline_iv >> blocks >> topbar.php You have been there before πŸ™‚

    Write your text instead of the red text in parenthesis. I am unsure if this is an acceptable way of doing it. But I have just checked, and it seems to work.
    Salvo errore et omissione.

    waelali Friend
    #441264

    <em>@steinar 304401 wrote:</em><blockquote><em>@waelali 304387 wrote:</em><blockquote>No – this is not working – even added that to the English version and saved the file as Unicode , and also added a new file to the Arabic folder and saved it as Unicode since Arabic is not ascii , however is not working yet

    Well then, how about this:

    [PHP]<p class=”ja-updatetime”><span><?php echo JText::_(‘LAST_UPDATE’)?></span><em><?php echo T3Common::getLastUpdate(); ?></em></p>
    [/PHP]

    The address is Templates >> ja_teline_iv >> blocks >> topbar.php You have been there before πŸ™‚

    Write your text instead of the red text in parenthesis. I am unsure if this is an acceptable way of doing it. But I have just checked, and it seems to work.
    Salvo errore et omissione.</blockquote>

    mmm πŸ™ No – Would you take my FTP and check that for me?? I have PMed that for you 2 days ago. I am getting crazy of it

    and let me ask you something else , since I am not php engineer , but more embedded engineer – C and C++ πŸ™‚ … How do you know what php file is related to the css or HTMl that you inspect??

    waelali Friend
    #441471

    Thank you. It is ok now. Just Translations problem.

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

This topic contains 12 replies, has 3 voices, and was last updated by  waelali 12 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum