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

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:";
主站蜘蛛池模板: 兴安盟| 内黄县| 定安县| 兰州市| 绥中县| 义乌市| 邢台县| 内丘县| 阳原县| 宜兴市| 天峨县| 株洲市| 陆河县| 渭源县| 普兰县| 浦北县| 禹城市| 醴陵市| 乳山市| 贡山| 大埔区| 定南县| 定南县| 三江| 阿勒泰市| 老河口市| 和政县| 松江区| 平果县| 紫云| 靖安县| 横山县| 普陀区| 息烽县| 武川县| 安福县| 迁安市| 枝江市| 吴桥县| 天台县| 增城市|