Languagy icon

Languagy -----

Easily support a player's selected language




ENGLISH has been removed from the language enum. You must now use an English variant. Minecraft defaults to en_us (AMERICAN_ENGLISH).
----------, Mar 30, 2023

Languagy 3 series is now considered stable. This update primarily allows you to set the debug flag on the constructor, as without this some debug output was being missed.

----------, Jul 29, 2022

Languagy 3.0.0 is the first version of a full rewrite of Languagy. Use with caution.

Server owners no longer need this plugin installed for the foreseeable future.

Developers:
See the updated API usage on the main resource page.

Languagy 3.0.0 brings several important changes to the quality of Languagy. Namely, performance has been increased significantly and language files can now be edited by a server owner and reloaded by Languagy instantly.

Languagy also now supports all versions 1.8+. It is also now deployed to our maven repository as both snapshots and releases, and with javadocs.

The API has been much improved and will be changing even more in the coming updates.

Changes (new -> old):
----------, Mar 13, 2022


Do not update unless you know what you're doing
This update contains breaking changes. Outdated plugins will not be compatible.

Languagy can now be shaded
This has been a long-term goal but has not been possible until now. See the 'shading' section on the main Spigot page for details on how to do this.

----------, Aug 2, 2020


This update has breaking changes. Old plugins will no longer function.

Thank you to @PikaMug for helping with this update.
----------, Feb 16, 2020

1.8 support dropped
I will no longer be supporting 1.8. If it works, it works. If it doesn't, too bad.
----------, Dec 19, 2019

  • Added support for Spigot 1.15
----------, Dec 11, 2019

  • Downgraded back to JDK 8. Whoops!
----------, Nov 26, 2019

  • Removes lombok dependency
  • Cleans up some code
  • Fixes a nullpointerexception
----------, Nov 26, 2019

  • Fixed a null error on translate listener
----------, Nov 4, 2019

  • Added option to disable checking for updates
  • Changed how unknown translations work: if a players language configuration has no key for the translation, the fallback file will be used instead. These errors will only print in debug mode.
----------, Oct 30, 2019

  • Added option to disable checking for updates
  • Changed how unknown translations work: if a players language configuration has no key for the translation, the fallback file will be used instead. These errors will only print in debug mode.
----------, Oct 30, 2019

  • Removes debug messages
  • Fixes a Languagy & Plan integration problem
----------, Oct 26, 2019

I TRIPLE CHECKED THIS UPDATE
Final update for October 2019

  • Spigot was stupid and didn't upload my jar, here it is again. Download to fix version alert
  • Languagy 1.2.0 is now also available for maven
----------, Oct 19, 2019

Final update for October 2019
  • Spigot was stupid and didn't upload my jar, here it is again. Download to fix version alert
  • Languagy 1.2.0 is now also available for maven
----------, Oct 18, 2019

  • Fixed Languagy not loading if Plan was not installed
----------, Oct 17, 2019

----------, Oct 11, 2019

  • Added integration to Plan (more stats coming soon)
  • Updated to gradle 5.6.2
  • Updated to Lombok 18
  • Downgraded the plugin to 1.13 in order to maintain 1.8-1.14 compatibility (I had set api-version to 1.13 whilst compiling against 1.14)
  • Code cleanup
  • Using PaperLib
  • Using Aikar Commands - command classes have been cleaned up and now use annotations. Tab completion is supported now too.
  • Use gradle shadow to fix incompatibilities with versions < 1.14: you would receive an error in 1.1.7, this is now fixed
  • AnvilGUI now works on all versions
  • /lgy view now has a root command to view all hooked plugins, like the /pl command
  • Added permissions for /lgy edit and /lgy test: languagy.admin
  • Added silent console mode: no more annoying console spam. Enable debug in config.yml to bring back more console information.
  • Removed custom events relating to the plugin updating: we no longer use that updater.
  • Fixed custom events not working: handler list was not static.
  • Added AbstractExtension and ExtensionManager which should be used to integrate Languagy support into other plugins (this should usually be internal use only, however you can use it to make Languagy hook into things).
  • Minor Performance improvements
Why the sudden jump in file size?
Due to an error with versions, and performance & code improvements, we have had to shade 6 things into the jar:
  • PaperLib
  • Aikar Commands (ACF)
  • Bstats
  • AnvilGUI
  • commons-io
  • commons-codec
----------, Oct 11, 2019

Languagy now has support for downloading files automatically from a URL directory. See main page for details.

This means you can automatically sync translated files with any server.
  • Added TranslatorOptions
  • Added Translator#setDebug - show debug info (for anything that supports it - currently only downloading language files)
----------, Jul 6, 2019

  • Update to 1.14
  • All version compatibility maintained
----------, May 6, 2019

Click 'read more' for summary of changes.

Languagy 1.1.5 has notable API changes. Instead of using
Code (Java):
new Translator (JavaPlugin plugin, File fallback ) ;
It is now preferred that your main class implements the LanguagyPluginHook interface (the method provided is where you put your translator-related methods, such as #setDisplay(Material material)), and on your translator field add the annotation @LanguagyImplementation. For example:
Code (Java):
public class Main extends JavaPlugin implements LanguagyPluginHook {
    @LanguagyImplementation (fallbackFile = "plugins/Merchants/lang/en_gb.yml" )
    @Getter
    private Translator translator ;

    @Override
    public void onLanguagyHook ( ) {
        translator. setDisplay (Material. HAY_BLOCK ) ;
    }
}
When your plugin has enabled, the translator class will be injected into your field and the method #onLanguagyHook will be called.

  • Removed auto-updater as it was too difficult to maintain
  • Made Languagy correctly use plugins logger instead of bukkit
  • Changed API to make code more clean and less time consuming (see above)
  • Added better documentation to Translator
  • Added null checks (including check for invalid config path)
  • This version maintains support for plugins using legacy Languagy versions
----------, Apr 11, 2019

  • Added 80 new languages
----------, Feb 16, 2019

  • Fixed IllegalArgumentException
----------, Feb 16, 2019

  • Fixed updater problems,
  • Added LanguagyAPI class including events,
  • Fixed issue with /lgy edit.
----------, Feb 8, 2019

  • Tiny fix for version checker
----------, Dec 29, 2018

  • Fixed issue with updater, sorry for any inconvenience!
----------, Dec 28, 2018

  • Fixed issue if translator was registered twice
  • Fixed being able to update whilst updating
----------, Dec 28, 2018

1.0.6
  • Bug fixes for updater, general cosmetic changes
1.0.7
  • Made updating async
----------, Dec 27, 2018

  • Added an auto-updater
    • Languagy will now inform you when there is a new update
    • You can let Languagy automatically update itself with no restart required using /lgy update.
----------, Dec 27, 2018

  • Added support for 1.8-1.13
  • Fixed error when no hooked plugins were installed
----------, Dec 26, 2018

  • Added paginated UI to prevent overflowing
----------, Dec 25, 2018

  • Fixed an ArrayIndexOutOfBoundsException with /lgy edit
----------, Dec 24, 2018

  • Added support for Czech
  • Added support for Slovakian
  • Added an in-game editor: /lgy edit
  • Added new API method:
    • Translator#setDisplay(Material) - sets display material in /lgy edit
----------, Dec 24, 2018

Resource Information
Author:
----------
Total Downloads: 55,542
First Release: Oct 18, 2018
Last Update: Mar 30, 2023
Category: ---------------
All-Time Rating:
6 ratings
Find more info at gitlab.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings