Advertisement

Plugin language translation does not work

General questions regarding the use of languages in Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
rdehshahri
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Tue Sep 07, 2010 5:06 pm

Plugin language translation does not work

Post by rdehshahri » Wed Sep 13, 2023 7:20 pm

Hello
I have fully translated the language files for a plugin but the translated language is not working and is still on English
I have placed the files named fa-IR.com_COMPONENTNAME.ini in the language folders, but the component is still in English.
I have even changed the name of the file to com_COMPONENTNAME.ini in the language folder, but the language of the component is still English.
Please guide me.

Advertisement
User avatar
ceford
Joomla! Hero
Joomla! Hero
Posts: 2900
Joined: Mon Feb 24, 2014 10:38 pm
Location: Edinburgh, Scotland
Contact:

Re: Plugin language translation does not work

Post by ceford » Thu Sep 14, 2023 5:52 pm

Plugin translations go in administrator/language/fa-IR/ and have names such as plg_group_pluginname.ini

Look at the list of plugin ini files already in the administrator/languages folder.

Component translations go in languages/fa-IR and in administrator/languages/fa-IR - different sets for front end and back end. And the names are like com_componentname.ini (and .sys.ini). Again, look at the existing folders to see the naming convention.

Advertisement

Locked

Return to “Language - Joomla! 4.x”