官术网_书友最值得收藏!

Creating the language file

Taking text out of the HTML or storing text in other files such as controllers can make maintaining applications or adding multiple languages a nightmare. Keeping languages in a separate dedicated file is always a good idea. With that in mind, we will create a language file for this app.

Create the language file en_admin_lang.php and add the following code to it:

<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

// General
$lang['system_system_name'] = "URLs a Swinger";

// Encode
$lang['encode_instruction_1']= "Enter a URL in the text box below and we'll shorten it";
$lang['encode_encode_now']= "Shorten Now";
$lang['encode_encode_now_success']= "Your URL was successfully shortened - check it out below";
$lang['encode_encode_now_error']= "We could not shorten your url, see below for why";
$lang['encode_type_url_here']= "Write the URL here";
$lang['create_url_address'] = "Write the URL here";
$lang['encode_encoded_url']= "Hey look at this, your shortenedurl is:";
主站蜘蛛池模板: 高碑店市| 安溪县| 麻栗坡县| 兴仁县| 扶绥县| 奎屯市| 嘉鱼县| 太湖县| 安福县| 化德县| 任丘市| 化州市| 彝良县| 图木舒克市| 萨迦县| 积石山| 象山县| 正定县| 铜山县| 周口市| 泗水县| 会同县| 宝兴县| 平果县| 桂林市| 凤凰县| 获嘉县| 聂荣县| 闽侯县| 闸北区| 昌江| 墨玉县| 万源市| 东宁县| 灵武市| 永定县| 四子王旗| 延川县| 云和县| 五指山市| 山东|