How can we help?

Search for anything about Yendif Video Share

Translating the Component to Your Language

This article describes how to create a translation for the “Yendif Video Share” Joomla 4 component. For example, we are going to use our English language pack and translate it to French by doing some little modifications.

Check the steps below to create your own translation.

1. Download en-GB.com_yendifvideoshare.zip.

The package name itself describes that the language is English. Basically Joomla! follow a standard language naming convention [xx-XX] which is made of [iso639 language code]-[iso3166 country code]

So, “en-GB” in our package name represents the English language of the United Kingdom. Since we are going to create a translation for French, our language tag would be “fr-FR”.

Note: Kindly use the appropriate language tag to which you translate the component.

2. Extract the downloaded zip file.

You should get the following file structure,

  • admin/en-GB/com_yendifvideoshare.ini
  • admin/en-GB/com_yendifvideoshare.sys.ini
  • admin/en-GB/plg_content_yendifvideoshare.ini
  • admin/en-GB/plg_content_yendifvideoshare.sys.ini
  • admin/en-GB/plg_system_yendifvideoshare.ini
  • admin/en-GB/plg_system_yendifvideoshare.sys.ini
  • site/en-GB/com_yendifvideoshare.ini
  • site/en-GB/mod_yendifvideoshare_categories.ini
  • site/en-GB/mod_yendifvideoshare_categories.sys.ini
  • site/en-GB/mod_yendifvideoshare_player.ini
  • site/en-GB/mod_yendifvideoshare_player.sys.ini
  • site/en-GB/mod_yendifvideoshare_playlist.ini
  • site/en-GB/mod_yendifvideoshare_playlist.sys.ini
  • site/en-GB/mod_yendifvideoshare_search.ini
  • site/en-GB/mod_yendifvideoshare_search.sys.ini
  • site/en-GB/mod_yendifvideoshare_videos.ini
  • site/en-GB/mod_yendifvideoshare_videos.sys.ini
  • lang_com_yendifvideoshare_en-GB.xml

3. Open lang_com_yendifvideoshare_en-GB.xml in your favorite Text editor.

4. Search for “en-GB” in the whole document and replace them as “fr-FR”.

5. Edit the tag as “French language pack for Yendif Video Share.”

6. That’s it. Save the file. We have prepared the lang_com_yendifvideoshare_en-GB.xml file for French.

7. Now, open the “admin” folder and rename “en-GB” to “fr-FR” in all filenames.

8. Then open the fr-FR.com_yendifvideoshare.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,

KEY="VALUE"

where “KEY” is a string to be translated and “Value” is the translated string. For example,

COM_YENDIFVIDEOSHARE="Yendif Video Share"

All you need is, just replace the string after the (=) sign in to your own French string. For example,

COM_YENDIFVIDEOSHARE="Your French String"

9. Kindly follow the same in all .ini files and other “site” folders too.

10. That’s it. Finally, compress the package into a ZIP file called lang-prefix-LANG-PREFIX.com_yendifvideoshare.zip (in our example the package will name fr-FR.com_yendifvideoshare.zip) Now the translation is ready, and can be installed via standard Joomla! installation procedure.

11. Congrats! you have translated the component to your language. Kindly mail the translated version to admin@yendifplayer.com. So, we will add it to the site for public use.

12. Thanks for your Contribution !!!

Still stuck on something? We’re just an email away. Reach out to us here, and you should receive a reply within 24 hours, except on Sundays.

Scroll to Top