Viewing 1 replies (of 1 total)
  • Plugin Author bobbywalters

    (@bobbywalters)

    That would be great to get your help to translate WebVTT into French.

    Providing another localization would amount to supplying 2 files into the webvtt/languages folder (a .mo and a .po). Using a GNU gettext friendly translation tool to open up the language template file, translating all the identified strings that can be localized, and saving the translations into a new .po and .mo file.

    Using an editor like Poedit makes it straight forward.

    1. Download Poedit from https://poedit.net/ and install it.
    2. Open the language template file webvtt/languages/webvtt.pot and select the language to translate into (in this case French).
    3. Add all the translations for each source text line.
    4. Use “File -> Save as…” to save the changes to webvtt/languages/webvtt-fr_FR.po.
    5. Use “File -> Compile to MO…” option to save the .mo file as webvtt/languages/webvtt-fr_FR.mo.

    Now to get the .po and .mo files back into the repository, the easiest way would be to submit a Pull Request on GitHub https://github.com/bobbywalters/webvtt so the changes could get merged in.

    Thanks again for offering to translate.

Viewing 1 replies (of 1 total)
  • The topic ‘localization in french’ is closed to new replies.