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
Does MD Watermark work under Joomla 3.9.20?
By Balazs Thu 16 Jul 2020 4:48 pm Board English Language
6
146
Thu 16 Jul 2020 10:31 pm By Balazs
The program calculates the PMT
By prmindphp Wed 20 May 2020 6:45 pm Board English Language
1
131
Thu 21 May 2020 5:57 pm By prmindphp
Helper for calculating NPER values
By prmindphp Tue 19 May 2020 6:55 pm Board English Language
1
104
Thu 21 May 2020 5:59 pm By prmindphp
Program that will be used for home loan calculations
By prmindphp Mon 18 May 2020 6:49 pm Board English Language
1
140
Thu 21 May 2020 6:02 pm By prmindphp
Tools that will help calculate car tax
By prmindphp Thu 14 May 2020 7:00 pm Board English Language
1
113
Fri 15 May 2020 12:03 am By prmindphp
Helper to create slidershow, Module Product Slide of MooZiiCart
By prmindphp Thu 30 Apr 2020 6:32 pm Board English Language
0
131
Thu 30 Apr 2020 6:32 pm By prmindphp
Helper in searching products by category and keywords with Module Ajax Search of MooZiiCart
By prmindphp Tue 28 Apr 2020 6:17 pm Board English Language
0
119
Tue 28 Apr 2020 6:17 pm By prmindphp
Helper to restore the system to clear data, Plugin System MRestore
By prmindphp Fri 24 Apr 2020 7:05 pm Board English Language
0
128
Fri 24 Apr 2020 7:05 pm By prmindphp
Creating social share buttons, share the website's content to Social Media With Plugin Content Msocial
By prmindphp Wed 22 Apr 2020 7:05 pm Board English Language
0
126
Wed 22 Apr 2020 7:05 pm By prmindphp
Create Content Marketing and Product with Content Product Match of MooZiiCart
By prmindphp Tue 21 Apr 2020 7:19 pm Board English Language
0
146
Tue 21 Apr 2020 7:19 pm By prmindphp
Filtering for find the product with Module Filter product of MooZiiCart
By prmindphp Thu 09 Apr 2020 6:51 pm Board English Language
0
134
Thu 09 Apr 2020 6:51 pm By prmindphp
Template Megadeal of MooZiiCart for creating websites to sell products online
By prmindphp Fri 03 Apr 2020 6:45 pm Board English Language
0
319
Fri 03 Apr 2020 6:45 pm By prmindphp
Displaying products that customers are interested by Wishlist Module
By prmindphp Fri 27 Mar 2020 5:46 pm Board English Language
0
526
Fri 27 Mar 2020 5:46 pm By prmindphp
Show the Bestsellers Product by Module Bestseller
By prmindphp Wed 25 Mar 2020 6:04 pm Board English Language
0
340
Wed 25 Mar 2020 6:04 pm By prmindphp
Show Products Category by Module Category
By prmindphp Tue 24 Mar 2020 6:07 pm Board English Language
0
382
Tue 24 Mar 2020 6:07 pm By prmindphp
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
3031
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
802
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
828
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
1048
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
803
Wed 08 Jan 2020 6:51 pm By prmindphp