User Rating: 2 / 5

Star ActiveStar ActiveStar InactiveStar InactiveStar Inactive
 

Because Joomla can be made into multiple languages. I would not set such a label Title or message headers. Code directly into the But to set the value of words in the language file, which is located in the language split into 2 parts: the admin language file language and file of the Site.

 

Create Language files in the Admin

Go to /administrator/language Followed by the language code, such as en-GB fr-FR th-TH enter, you will find ini file to set the file name in the format of Joomla began with the language code followed by the extension.

For example:

- Thailand's com_users language file to the file name. th-TH.com_users.ini 

- English com_users file is the file name. en-GB.com_users.ini 

- English mod_login file is the file name. en-GB.mod_login.ini

 

Usually if you can do it, it will load the file extension of the language of that section to such use com_users system will load the file. th-TH.com_users.ini to 

But if the other parts like com_menu already has the required message from com_users to create a file extension. Sys.ini to come by.

For example:

for example, 

- Thailand's com_users language file to the file name. th-TH.com_users.sys.ini 

- English com_users file is the file name. en-GB.com_users.sys.ini 

- English mod_login file is the file name. en-GB.mod_login.sys.ini

 

Create Language file in the Site

Into the folder / language folder, followed by the language code, such as en-GB fr-FR th-TH enter, you will find ini file to set the file name in the format as part of the Joomla admin.

After creating the file Specify the file name successfully Later set the variable and the text.

COM_MENUS="Menus Manager"
COM_MENUS_ADD_MENU_MODULE="Add a module for this menu type."
COM_MENUS_ADVANCED_FIELDSET_LABEL="Advanced Options"
COM_MENUS_BASIC_FIELDSET_LABEL="Basic Options"

The above code Left side is the variable that will be used instead of text. Be all caps The right side is the text in the variable itself.

 

For example, adoption COM_MENUS be brought into use.

<?php echo JText::_('COM_MENUS'); ?>

 

 

Chapter 15 - Media (css,js,img) Component Development

Recent Topics
Subject
Post Reply
Open
Recent
Plugin System MZC Auto Close to enable the open and close odering system
By prmindphp Wed 19 Feb 2020 6:38 pm Board English Language
0
9
Wed 19 Feb 2020 6:38 pm By prmindphp
MDPartner Component for store client data in CRM system
By prmindphp Sat 25 Jan 2020 3:04 pm Board English Language
0
53
Sat 25 Jan 2020 3:04 pm By prmindphp
i am looking for help
By Anonymous Tue 14 Jan 2020 5:46 pm Board English Language
1
69
Tue 14 Jan 2020 6:03 pm By noppadonsk
Dot Net Training
By Poonaam Fri 10 Jan 2020 2:20 pm Board English Language
0
79
Fri 10 Jan 2020 2:20 pm By Poonaam
MDRental, Area management assistant for rental business
By prmindphp Wed 08 Jan 2020 6:51 pm Board English Language
0
54
Wed 08 Jan 2020 6:51 pm By prmindphp
Fix Gmail Error 404 By Taking Gmail Help Quickly
By Anonymous Wed 08 Jan 2020 2:56 pm Board English Language
0
49
Wed 08 Jan 2020 2:56 pm By Anonymous
How To Add New Facebook Friends using Facebook Phone Number?
By Anonymous Tue 07 Jan 2020 4:20 pm Board English Language
0
48
Tue 07 Jan 2020 4:20 pm By Anonymous
DBA Training Institute
By Shrutiii Wed 01 Jan 2020 3:06 pm Board English Language
0
56
Wed 01 Jan 2020 3:06 pm By Shrutiii
Tools for calculating the withholding tax easily reduce large tax
By prmindphp Wed 25 Dec 2019 6:56 pm Board English Language
0
55
Wed 25 Dec 2019 6:56 pm By prmindphp
Helper to calculate interest rates for investors
By prmindphp Tue 24 Dec 2019 6:52 pm Board English Language
0
107
Tue 24 Dec 2019 6:52 pm By prmindphp
Plan your savings easily with FV (Future Value) Calculator
By prmindphp Mon 23 Dec 2019 7:28 pm Board English Language
0
62
Mon 23 Dec 2019 7:28 pm By prmindphp
Payment Calculator, Installment calculation to make decisions
By prmindphp Fri 20 Dec 2019 6:00 pm Board English Language
0
72
Fri 20 Dec 2019 6:00 pm By prmindphp
Program Calculate Home Loan, Tools that will help you calculate home loans easily and quickly
By prmindphp Thu 19 Dec 2019 6:59 pm Board English Language
0
75
Thu 19 Dec 2019 6:59 pm By prmindphp
The website loads slowly ? The image size is not proportional, MImageoptimize Plugin of Joomla can help
By prmindphp Tue 17 Dec 2019 7:05 pm Board English Language
0
77
Tue 17 Dec 2019 7:05 pm By prmindphp
Calculation program Number of Periods (NPER)
By prmindphp Mon 16 Dec 2019 7:21 pm Board English Language
0
130
Mon 16 Dec 2019 7:21 pm By prmindphp
Calculation program after including VAT
By prmindphp Fri 13 Dec 2019 5:32 pm Board English Language
0
308
Fri 13 Dec 2019 5:32 pm By prmindphp
Plugin Content MChangelog ,helps add content that has changed, update, and fix the problem
By prmindphp Thu 12 Dec 2019 6:46 pm Board English Language
0
149
Thu 12 Dec 2019 6:46 pm By prmindphp
Pace Calculator
By prmindphp Wed 11 Dec 2019 6:53 pm Board English Language
0
114
Wed 11 Dec 2019 6:53 pm By prmindphp
Introducing to MooZiiCart's Coupons feature, create coupons on website sell products online it is certain to boost sales
By prmindphp Mon 09 Dec 2019 11:06 am Board English Language
0
92
Mon 09 Dec 2019 11:06 am By prmindphp
Introducing to MooZii Opencart - Template MooZiicart create a beautiful website by yourself
By prmindphp Fri 06 Dec 2019 10:47 am Board English Language
0
115
Fri 06 Dec 2019 10:47 am By prmindphp