Software 43381 Published by

"AM" 9.8 is a new release that supports languages apart from the classic English. Users can now download and compile translations for their language using any.po editor, such as Poedit. The source file is source.po, available in the "translations" section of the repository. To use the new option, translate or --translate, users can use a "trusted" language code or switch between languages. The workflow will automatically create the.mo files needed to use the languages in "AM".

The languages currently available include Czech (cs), Serbian (sr), Spanish (es), and Italian (it). Deutch (de) and Russian (ru) have been generated by AI, so they are subject to possible syntax errors. Users who use AppMan mode or install programs locally from AM will use AM modules instead of creating new ones for AppMan, avoiding duplication. Other changes include enhancements to AM packaging in distributions that incorporate it into their package manager, notifications for users if their distro maintainer is linking wget to wget2, a new template for selecting and installing multiple variants of the same program, colored update output, and support for the NO_COLOR variable.



"AM" 9.8

Ti "AM" in tutte le lingue del mondo

This title in Italian is a play on words, where "I love you" is said "ti amo", the sentence should be "ti amo in all the languages ​​of the world". But mine is not a declaration of love... on the contrary: "AM" now supports languages ​​other than the classic English you were used to!

From now on, you will be able to download and compile translations for your language with any .po editor (e.g. Poedit).

The source file is  source.po, available in the new section " translations" of this repositoy.

All you need to do is add your .po file to this directory of the repository, via a pull request on the "dev" branch:

The workflow will do the rest, including synchronization with the source files, APP-MANAGER (the main AM script), modules and most importantly the creation of the .mo files needed to use the languages ​​in "AM".

NOTE: Submitting the pull request to the "dev" branch is the only way to automatically create the .mo file needed to translate AM/AppMan

New option translate or --translate

A new option, translate or --translate, has also been introduced, it can be used with or without an argument. The input must be a "trusted" language code (e.g. "it" for Italian, "sr" for Serbian). Otherwise, "en" (English) will be set by default.

Likewise, if a language is not available in the database, "en" will be set by default. You will be notified when a new language pack is available for you, simply by updating AM/AppMan (option -s or sync or option -u or update).

If you want to use English as usual, and by explicit choice, you can run the command

am translate en

or

am translate

without an input.

You can also decide to switch between languages, for example, to switch to Italian from another language, in this way:

am translate it

or

am translate

and write "it".

Use one of the codes available here (see the name of the directories):

A list of reliable codes (even those not yet included in the database, just in case) is available 

For more information on translations, click on the link below

https://github.com/ivan-hc/AM/tree/main/translations

My special thanks go to  @zen0bit for the idea and the effort put into making this release.

Also here are the languages ​​currently available:

NOTE: Deutch (de) and Russian (ru) have been generated by AI, so they are subject to possible syntax errors, anyone who is expert in these languages ​​is invited to review the translations... or rewrite them if necessary.

I'm waiting for your pull requests, GRAZIE!


Other changes

  • AM users who use AppMan mode or install programs locally from AM will use AM modules instead of creating new ones for AppMan, avoiding duplication. Pure AppMan users will have their own modules as usual.
  • added improvements for AM packaging in distributions that include it in their package manager, by  @fiftydinar.
  • added a message to warn users if their distro maintainer is distributing wget as a link to wget2 (see Fedora).
  • added a new template to select and install multiple variants of the same program, and based on this many scripts have been merged (see mercury and thorium) reducing the amount of dedicated scripts.
  • the update output (option -u) is colored (see first four screenshots above, in various languages).
  • added support for the NO_COLOR variable, allowing users who set it to remove colors from AM output (for example, on systems that require screen readers).

Full Changelog 9.7.1...9.8

Release "AM" 9.8 · ivan-hc/AM