Yendif Video Share - Create your Language Packs

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.

  1. Download en-GB.com_yendifvideoshare_2.0.1.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 This email address is being protected from spambots. You need JavaScript enabled to view it.. So, we will add it to the site for public use.
  12. Thanks for your Contribution !!!

Still, having issues? You can either post your query in our forum section or mail it directly to This email address is being protected from spambots. You need JavaScript enabled to view it.. All your queries will be replied to within 24 hrs.


Business Address

PLUGINSWARE INTERACTIVE PVT LTD
Door No 2A, Venkateshwara Nagar,
1st Main Road, Velachery, Chennai,
Tamilnadu, India
Pincode: 600042
© 2013 - 2024 Pluginsware Interactive Private Limited. All Rights Reserved. The Joomla! name and logo is used under a limited license granted in the United States and other countries.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.