Streamit Laravel - Documentation

How to Add a New Language to the Subtitle Language Dropdown and Upload Subtitle Files?

🌐 Managing Subtitle Languages from the Admin Panel

When adding subtitles from the Admin Panel, you will see a Subtitle Language dropdown (Image 1).

  • If the required subtitle language already exists, simply select it from the dropdown.
  • If the subtitle language is not available, you must add it manually by following the steps below.

Steps to Add a New Language for Subtitle

To add a new Subtitle language that will appear in the movie language dropdown (Image 1), follow these steps:

1. Go to Admin Panel → Constant Tab → New Language (as shown in Image 2).

2. Fill in the required fields:

  • Name: Enter the language name (e.g., English, Hindi, Gujarati).
  • Type: Select Subtitle Language  (⚠️This step is very important).
  • Value: Enter the language code
    • Example:
      • English → en
      • Hindi → hi

3. Enable the status.

4.Click Save.

Result

  1. Go to Add / Edit Movie or TV Show
  2. Open the Subtitle Info tab
  3. Enable the Subtitle option
  4. You will now see the newly added subtitle language in the dropdown
  5. Select the language and use it for subtitles

You can now upload subtitle files (SRT/VTT) for the selected language.

🌐 Managing Subtitle Files from the Admin Panel

Follow the steps below to upload and enable subtitle files for Movies, Episodes, or Videos.

Step 1: Open the Movies Module

  • Login to the Admin Panel and navigate to the Movies module.

Step 2: Edit the Movie

  • Click on the Edit icon for the movie where you want to add subtitles.

Step 3: Enable Subtitles

  • Toggle the Enable Subtitle switch
  • Open the Subtitle section

Step 4: Select Subtitle Languages

  • Open the Languages dropdown
  • Select one or more preferred Subtitle Languages

Step 5: Upload Subtitle File

  • Click Choose Files
  • Upload the subtitle file in .srt or .vtt format

Step 6: Set Default Language (Optional)

  • To set English (or any language) as default, tick the Default Language checkbox
  • The selected subtitle will load automatically during playback

Step 7: Save Changes

  • Click the Save button to apply the subtitle settings.

📌 Note : The same steps can be applied to the Episodes and Videos modules.

Subtitle Display on User Side

This ensures a smooth and enhanced viewing experience across App, Web, and TV

Users can watch content with subtitles for better clarity and language support

Available subtitle languages (e.g., English) can be selected during video playback

If a default subtitle language is set, it loads automatically