-
AuthorPosts
-
waelali Friend
waelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
February 29, 2012 at 12:19 pm #174432Hi
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.
Thank you
steinar Friendsteinar
- Join date:
- July 2007
- Posts:
- 319
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 11
- Thanked:
- 98 times in 84 posts
February 29, 2012 at 8:14 pm #440948Here 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?
1 user says Thank You to steinar for this useful post
waelali Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
February 29, 2012 at 9:20 pm #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 Friendsteinar
- Join date:
- July 2007
- Posts:
- 319
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 11
- Thanked:
- 98 times in 84 posts
February 29, 2012 at 11:03 pm #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 π
1 user says Thank You to steinar for this useful post
waelali Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
March 1, 2012 at 12:12 am #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 Friendyn4ever
- Join date:
- February 2012
- Posts:
- 34
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
March 1, 2012 at 7:20 pm #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 wordwaelali Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
March 1, 2012 at 7:22 pm #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 Friendsteinar
- Join date:
- July 2007
- Posts:
- 319
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 11
- Thanked:
- 98 times in 84 posts
March 2, 2012 at 12:39 am #441246Hi 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.
π1 user says Thank You to steinar for this useful post
waelali Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
March 2, 2012 at 1:00 am #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 nightsteinar Friendsteinar
- Join date:
- July 2007
- Posts:
- 319
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 11
- Thanked:
- 98 times in 84 posts
March 2, 2012 at 1:31 am #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.1 user says Thank You to steinar for this useful post
waelali Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
March 2, 2012 at 1:36 am #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 Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
March 2, 2012 at 9:01 pm #441471Thank you. It is ok now. Just Translations problem.
AuthorPostsViewing 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
RTL Problem : Header problems – order of words and numbers
Viewing 12 posts - 1 through 12 (of 12 total)