Create your own Language Pack for Yendif Events
This article describes how to create translation for "Yendif Events" component. As example we are going to use our English language pack and translate it to French by doing some little modifications.
So, "en-GB" in our package name represent English language of United Kingdom. Since we are going to create a translation for French, our language tag would be "fr-FR".
Note : Kindly use appropriate language tag to which you transtale the component.
Extract the downloaded zip file.
You should get the following file structure,
- Open install.xml in your favorite Text editor.
- Search for "en-GB" in the whole document and replace them as "fr-FR".
- Edit the "description" tag as "French language pack for Yendif Events."
- That's it. Save the file. We have prepared the install.xml file for French.
- Now, open "administrator" folder and rename "en-GB" to "fr-FR" in all filenames.
Then open fr-FR.com_yendifevents.ini file in your Text editor. Please remember all .ini files should be saved as UTF-8 without BOM encoding.
You can see that each line from the file consists of a pair of strings separated by an equals sign like this,
where "KEY" is a string to be translated and "Value" is the translated string. For example,
What all you need is, just replace the string after the (=) sign in to your own French string. For example,
COM_YENDIFEVENTS="Your French String"
- Kindly follow the same in all .ini files and other "site" folder too.
- That's it. Finally compress the package into ZIP file called lang-prefix-LANG-PREFIX.com_yendifevents.zip (in our example the package will name as fr-FR.com_yendifevents.zip) Now the translation is ready and can be installed via standard Joomla! installation procedure.
- Thanks for your Contribution !!!