Bryan Sammers Posted February 4, 2010 Share Posted February 4, 2010 You might think of disabling the "choose language" area if there is only one language installed on the board. Less clutter, the better it is for SEO :D Link to comment Share on other sites More sharing options...
.Ian Posted February 4, 2010 Share Posted February 4, 2010 You can easily hide the drop down from the template by hiding the following towards the foot of the globaltemplate<form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post" class='left'> <fieldset> <input type='hidden' name='k' value='{$this->member->form_hash}' /> <input type='hidden' name='setlanguage' value='1' /> <input type="hidden" name="langurlbits" value="{$this->settings['query_string_safe']}&cal_id={$this->request['cal_id']}" /> <label for='newLang' class='hide'>{$this->lang->words['language_prefix']}</label> <select name="langid" id='newLang'> {$footer_items['lang_chooser']} </select> <input type='submit' class='input_submit alt' value='{$this->lang->words['jmp_go']}' id='newLangSubmit' /> </fieldset> </form> Link to comment Share on other sites More sharing options...
Bryan Sammers Posted February 4, 2010 Author Share Posted February 4, 2010 Link to comment Share on other sites More sharing options...
Wolfie Posted February 4, 2010 Share Posted February 4, 2010 Would be nice to have this as an option, without having to edit the skin. Link to comment Share on other sites More sharing options...
Robert Simons Posted February 5, 2010 Share Posted February 5, 2010 indeed ...brilliant idea Link to comment Share on other sites More sharing options...
Ryan H. Posted February 5, 2010 Share Posted February 5, 2010 I did this in one of my skins--it will be hidden unless there's actually more than one option available. I'll go grab the code. I agree that it should be in IPB by default, though. <if test="count(explode('value',$footer_items['lang_chooser'])) > 2"> <form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post" class='left'> <fieldset> <input type='hidden' name='k' value='{$this->member->form_hash}' /> <input type='hidden' name='setlanguage' value='1' /> <input type="hidden" name="langurlbits" value="{$this->settings['query_string_safe']}&cal_id={$this->request['cal_id']}" /> <label for='newLang' class='hide'>{$this->lang->words['language_prefix']}</label> <select name="langid" id='newLang'> {$footer_items['lang_chooser']} </select> <input type='submit' class='input_submit alt' value='{$this->lang->words['jmp_go']}' id='newLangSubmit' /> </fieldset> </form> </if> Link to comment Share on other sites More sharing options...
BariatricPal Posted December 9, 2010 Share Posted December 9, 2010 We copied a language by mistake. We can't even delete them, let alone hide them. I'd like to also suggest that there be an option added to ipb which allows us to hide all or some of the languages. Also, the only language that should be protected from deletion is the default language that comes with IPB. Link to comment Share on other sites More sharing options...
Ocean West Posted December 9, 2010 Share Posted December 9, 2010 and with Google do we really need native translations? http://translate.google.com/about/intl/en_ALL/tour.html#professional Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.