Jump to content

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


jack.zhang

Recommended Posts

  • 7 months later...

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

Link to comment
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

Link to comment
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...