Code Monkey home page Code Monkey logo

Comments (8)

rob006 avatar rob006 commented on May 25, 2024

@justoverclockl I added Italian language to Weblate and imported existing translations: https://weblate.rob006.net/languages/it/flarum/

To finalize this:

  1. Create an account on https://weblate.rob006.net/ and let me know what is your username - I'll grant you language pack maintainer privileges, so you could mark translations as verified and have more tools to moderate translations.
  2. Grant "write" access for @robbot006 to your repository - you can do this at https://github.com/justoverclockl/flarum-italian-ext/settings/access. After this bot will be able to commit updated translations from Weblate to your language pack.

from flarum-translations.

rob006 avatar rob006 commented on May 25, 2024

BTW: There were some failures while importing existing translations. Most of the are related to abandoned extensions no longer supported by Weblate, but there are other cases:

  1. https://github.com/justoverclockl/flarum-italian-ext/blob/main/locale/fof-terms.yml contains invalid yaml: Unable to parse at line 59 (near "i-accept:Accetto i nuovi <a>{policy}</a>"). (this could crash forum with this extension).
  2. https://github.com/justoverclockl/flarum-italian-ext/blob/main/locale/v17development-flarum-badges.yml - this extension is not available on Weblate, but I'm not sure why bot did not detect it. I'll investigate this tomorrow.
  3. Multiple extensions had incorrect file name, but I was able correct them. But after bot will export translations from Weblate, you may want to remove these old files - Flarum probably never used them, since they don't follow naming conventions.

from flarum-translations.

justoverclockl avatar justoverclockl commented on May 25, 2024

Can u tell me exactly the wrong extension name? It's strange

from flarum-translations.

justoverclockl avatar justoverclockl commented on May 25, 2024

BTW: There were some failures while importing existing translations. Most of the are related to abandoned extensions no longer supported by Weblate, but there are other cases:

  1. https://github.com/justoverclockl/flarum-italian-ext/blob/main/locale/fof-terms.yml contains invalid yaml: Unable to parse at line 59 (near "i-accept:Accetto i nuovi <a>{policy}</a>"). (this could crash forum with this extension).
  2. https://github.com/justoverclockl/flarum-italian-ext/blob/main/locale/v17development-flarum-badges.yml - this extension is not available on Weblate, but I'm not sure why bot did not detect it. I'll investigate this tomorrow.
  3. Multiple extensions had incorrect file name, but I was able correct them. But after bot will export translations from Weblate, you may want to remove these old files - Flarum probably never used them, since they don't follow naming conventions.

fof terms updated !

from flarum-translations.

justoverclockl avatar justoverclockl commented on May 25, 2024

@justoverclockl I added Italian language to Weblate and imported existing translations: https://weblate.rob006.net/languages/it/flarum/

To finalize this:

  1. Create an account on https://weblate.rob006.net/ and let me know what is your username - I'll grant you language pack maintainer privileges, so you could mark translations as verified and have more tools to moderate translations.
  2. Grant "write" access for @robbot006 to your repository - you can do this at https://github.com/justoverclockl/flarum-italian-ext/settings/access. After this bot will be able to commit updated translations from Weblate to your language pack.

username on weblate is justoverclock

from flarum-translations.

rob006 avatar rob006 commented on May 25, 2024

Can u tell me exactly the wrong extension name? It's strange

Translation file should be named after extensions ID generated by Flarum from Composer package name. So for example file for fof/merge-discussions should be named fof-merge-discussions, but it was fof-merge-discussion (without "s") in your case.

Anyway, I imported fixed file for FoF Terms and setup exporting translations to your language pack - it will be triggered by any translation change. You also should have maintainer privileges on Weblate.

from flarum-translations.

rob006 avatar rob006 commented on May 25, 2024

OK, it is working. Take a look at https://github.com/justoverclockl/flarum-italian-ext/tree/main/locale - if file was not modified by bot, extensions is probably abandoned or file name was incorrect and you can remove it. The only exception is https://github.com/justoverclockl/flarum-italian-ext/blob/main/locale/v17development-flarum-badges.yml - I'll try to add support for this extensions soon. Since now translations should be made by Weblate and manual changes to yaml files may be overwritten by state from Weblate.

You may also take a look at https://rob006-software.github.io/flarum-translations/status/it.html - it is list of extensions ordered by popularity, it will help you to focus on completing translations for most popular extensions first.

from flarum-translations.

rob006 avatar rob006 commented on May 25, 2024

Translations from https://github.com/justoverclockl/flarum-italian-ext/blob/main/locale/v17development-flarum-badges.yml are already imported.

Closing, since there is nothing more to do here. But feel free to ask here or on forum if you have any questions.

from flarum-translations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.