Class Translate

java.lang.Object
games.stendhal.server.core.engine.Translate

public class Translate extends Object
translation
Author:
hendrik
  • Constructor Details

    • Translate

      public Translate()
  • Method Details

    • init

      public static void init()
      loads the language files
    • getText

      public static String getText(String text)
      translate a text
      Parameters:
      text - text to translate
      Returns:
      translated text
    • setThreadLanguage

      public static void setThreadLanguage(String language)
      sets the language for this thread
      Parameters:
      language - language