Jump to content

如何在后台显示中文 在前台不显示中文


Recommended Posts

我想前台只显示 英语的flag 不显示 中文的flag


你有安装blocklanguages吗?如果前台只用英文,你可以不用安装这个模块。后台就用你的英文和中文包。

Share this post


Link to post
Share on other sites
  • 7 months later...

现在1.3.1已修复一个与此有关的bug。所以,可以直接Back Office >> Tools >> Languages >> Languages options >> Default language: English——这样FO就默认是英文。BO选择中文,不会改变(英文的)FO。

Share this post


Link to post
Share on other sites

如希望blocklanguages不显示(可选的)简体中文,那需要备份后修改/modules/blocklanguages/blocklanguages.tpl第2 - 14行:




       {foreach from=$languages key=k item=language name="languages"}

               {if $language.iso_code != $lang_iso}getLanguageLink($language.id_lang, $language.name)}" title="{$language.name}">{/if}
                   {if $language.iso_code != 'zh'}

                   {/if}
               {if $language.iso_code != $lang_iso}{/if}

       {/foreach}





清空smarty缓存后,再测试。

blocklanguages.txt

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More