Skip to content

Italian translation update and missing source code localization strings #17

Description

@dukefleed69

Hello,

I have completely reviewed, updated, and optimized the Italian translation (rubyripper.po) for RubyRipperRemix.

Here is a summary of the improvements made:

  • Terminology Standardization: Fixed technical terms to match standard OS conventions (e.g., used "unità" for drive).
  • Interface Clean-up: Shortened and optimized strings across GTK3, TUI, and CLI interfaces to prevent text wrapping and layout breaking.
  • Log Enhancements: Improved log file clarity by translating technical concepts like "chunks" into "blocchi" and adjusting punctuation for better vertical alignment.
  • Grammar Fixes: Corrected spelling errors, typos, and improper apostrophes from the legacy translation.
  • Metadata & Plural Forms Fix: Cleaned up incorrect French placeholders left over in the header from previous repository forks and set the proper Italian plural forms formula.

The translation headers have been updated to preserve credits for the original translator (betsbass) and subsequent contributor (BleskoDev), while including my contribution.


Missing Localization Strings in Ruby Source Code

While working on the translation, I noticed that two strings in the CLI interface are currently hardcoded and missing the localization wrappers. Because of this, they cannot be translated.

I already pre-added them to my rubyripper.po file, but the Ruby source code needs to be updated to wrap them in _(). Here is where they are located in lib/rubyripper/cli/cliDisc.rb:

  1. Line 89:

    • Current code: @out. puts "DISC INFO"
    • Should be: @out. puts _("DISC INFO")
    • PO reference:
      #: ../lib/rubyripper/cli/cliDisc.rb:89
      msgid "DISC INFO"
      msgstr "INFORMAZIONI DISCO"
  2. Line 107:

    • Current code: @out. puts "TRACK INFO"
    • Should be: @out. puts _("TRACK INFO")
    • PO reference:
      #: ../lib/rubyripper/cli/cliDisc.rb:107
      msgid "TRACK INFO"
      msgstr "INFORMAZIONI TRACCIA"

Could you please wrap these strings in the source code so the Italian translation can take effect for them?

(Side note: When installing from AUR, the locale files were not copied to the system directories, so the application remained in English until I manually placed the .mo file in my system. You might want to check the installation script/Makefile to ensure translations are properly deployed).

I have attached my updated rubyripper.po file to this issue. I hope this can be merged into the main repository to provide a better out-of-the-box experience for Italian users.

Best regards,
Enzo

rubyripper.po.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions