display flag and language name Joomla 1.7

Hi there,
first of all Merry Christmas to you all experts!
I need to do something really simple i think but i dont know what or how to modify the related file. First of all i have a website that support both languages English and Spanish. The site starts by pick up the browser language and if you want to change it you pick the flag to change it. This does work without problems, what i need to do is to add some verbiage something like read us on english  and the flag. On the spanish side i want to display leenos en Espanol and the flag. Somehow i know i need to modify the a php file some where. I'm thinking default.php inside modules/mod_languages but i'm not sure where exactly =(
can you experst tell me if im on the right track and what i need to modify to accomplish what i want.
Thanks all
<?php
/**
 * @version		$Id: default.php 22372 2011-11-09 16:47:59Z github_bot $
 * @package		Joomla.Site
 * @subpackage	mod_languages
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die('Restricted access');
JHtml::_('stylesheet', 'mod_languages/template.css', array(), true);
?>
<div class="mod-languages<?php echo $moduleclass_sfx ?>">
<?php if ($headerText) : ?>
	<div class="pretext"><p><?php echo $headerText; ?></p></div>
<?php endif; ?>

<?php if ($params->get('dropdown',1)) : ?>
	<form name="lang" method="post" action="">
	<select class="inputbox" onchange="document.location.replace(this.value);" >
	<?php foreach($list as $language):?>
		<option dir=<?php echo JLanguage::getInstance($language->lang_code)->isRTL() ? '"rtl"' : '"ltr"'?> value="<?php echo $language->link;?>" <?php echo $language->active ? 'selected="selected"' : ''?>>
		<?php echo $language->title_native;?></option>
	<?php endforeach; ?>
	</select>
	</form>
<?php else : ?>
	<ul class="<?php echo $params->get('inline', 1) ? 'lang-inline' : 'lang-block';?>">
	<?php foreach($list as $language):?>
		<?php if ($params->get('show_active', 0) || !$language->active):?>
			<li class="<?php echo $language->active ? 'lang-active' : '';?>" dir="<?php echo JLanguage::getInstance($language->lang_code)->isRTL() ? 'rtl' : 'ltr' ?>">
			<a href="<?php echo $language->link;?>">
			<?php if ($params->get('image', 1)):?>
				<?php echo JHtml::_('image', 'mod_languages/'.$language->image.'.gif', $language->title_native, array('title'=>$language->title_native), true);?>
			<?php else : ?>
				<?php echo $params->get('full_name', 1) ? $language->title_native : strtoupper($language->sef);?>
			<?php endif; ?>
			</a>
			</li>
		<?php endif;?>
	<?php endforeach;?>
	</ul>
<?php endif; ?>

<?php if ($footerText) : ?>
	<div class="posttext"><p><?php echo $footerText; ?></p></div>
<?php endif; ?>
</div>

Open in new window

COHFLAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Abhijeet RananawareWeb & Mobile DeveloperCommented:
You don't need to modify php file..

Go to Extensions>Language manager>Content Tab

Set Title Native of respective Languages.

Regards,
Abhijit
0
COHFLAuthor Commented:
that is already set but nothing displays as for Native language see attached files Settings flag display
0
Abhijeet RananawareWeb & Mobile DeveloperCommented:
Check my multilang site http://securboxe.com  ..it show Language native title..In your case you have set spanish in english it should be Espanol ? am I right ...Check my settings screenshot..


Regards,
ABhijijt
lang.png
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

COHFLAuthor Commented:
Well it does display Francais but does not show the flag. What i want to do is to have the Language Name + the flag.
If i want to show the language i can just select display Language title and voila.
0
Abhijeet RananawareWeb & Mobile DeveloperCommented:
I have disabled flag on my site thats why it is not showing..This is standard requirement to show flags in Joomla 1.7

Image Prefix = Prefix of the image file for this language when using the "Use image flags" Language Switcher basic option. Example: if 'en' is chosen, then the image shall be en.gif. Images and CSS for this module are in media/mod_languages/ . Users can add any image/flag there with any prefix. Example: pt_br for the Brazilian flag.


Regards,
Abhijit
0
Ray PaseurCommented:
0
COHFLAuthor Commented:
ray that might be something i need but for joomla is a bit different =(
0
COHFLAuthor Commented:
I wish the same way we get bug when we leave a question open for so long experts should also hear about it!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
COHFLAuthor Commented:
nothing was resolved
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Joomla

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.