<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                phpGrace 語言包使用說明 **1、添加語言包文件** ~~~ 位置:/分組目錄/lang/語言.php?【自行創建】 命名:?zh.php、en.php?,規則?:?語種.php //語言文件代碼格式 <?php return?array( ????'APP_NAME'?????=>?'phpGrace', ????'btnname'??????=>?'提交' ); ~~~ **2、語言設置 $this->setLang($langType)** 使用 $this->setLang($langType) 全局函數可以設置使用的語種,如: ~~~ class?indexController?extends?grace{ ????public?function?index(){} ????public?function?setLg(){ ????????if(empty($this->gets[0])){exit;} ????????if(in_array($this->gets[0],?array('zh',?'en'))){ ????????????$this->setLang($this->gets[0]); ????header('location:/'); ????????} ????} } ~~~ **3、使用 lang($key) 函數獲取語言** ~~~ <?php class?indexController?extends?grace{ ????public?function?index(){ ????????setLang('zh'); ????????echo?lang('btnname'); ????} } ~~~ **說明:** 使用 setLang() 動態的設置語種即可達到語言包切換的目的 ^\_^
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看