Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Multi Language

Austin Pilz edited this page Jul 6, 2017 · 4 revisions

As of v1.4, Alcatraz integrates with the plugin LanguageAPI to provide server owners the ability to translate Alcatraz messages to their preferred language. The LanguageAPI plugin will detect the language set for each player according to their Essentials language preference, meaning that Alcatraz can be translated into multiple different languages on the same server.

Note: If you want to use translations, you will need to download and install the LanguageAPI plugin on your server. LanguageAPI does not translate the languages for you, it allows YOU to translate the language on your own.

How does it work?

In /Plugins/Alcatraz/Languages will be the language file for all Alcatraz messages. The file will continue to add more of the Alcatraz messages as they are used in game. You can download a copy of the complete english language file below. Once you've translated the file to your liking, you'll want to save it to the folder with the correct language code (i.e. English is "eng"). Once the translation file has been saved and the player's locale set in Essentials, Alcatraz will begin using the translated file.

For detailed instructions on translation, please see the [LanguageAPI] (http://dev.bukkit.org/bukkit-plugins/languageapi/) plugin page

English Translation File

Note: When translating, DO NOT move, change, or remove any of the {#} in the strings. If you do, the translation will fail and it will return to English

chatKickSyntaxError: {0}Syntax error!{1} To kick player:
chatPrisonSpawnSuccess: You've been sent back to the prison spawn!
recipePickLore: 50% chance of picking any lock on a locked door or chest
chatRaidCooldown: Not enough time has passed since the last raid!
consoleChestLoadRandom: {0} random chests loaded
chatWelcomeBack: Welcome back to Alcatraz!
chatAdminPrisonDNE: Prison [{0}{1}{2}] does not exist!
chatAdminPlayerUpdateKills: Updated {0}{1}{2}'s {3}{4}{5} to {6}{7}{8} successfully{9}!
chatAdminAddCellAE: Cell #{0}{1}{2} already exists in {3}{4}
consoleMetricsSubmitted: Metrics submitted!
scoreboardTimeIn: Time In
chatAdminAddChestUnknownType: {0}Error! {1} Unknown chest type. Valid chest types:
chatPurchaseBalanceError: Insufficient funds! Balance ${0}{1}{2} / Needed ${3}{4}{5}
chatCostStrike: Strike : ${0}
chatPrisonAdminDeleteCommand: To delete prison:
chatSettingsReloaded: Settings reloaded!
chatPurchaseStrike: {0}Strike{1} - Removes a strikes from your strike total
arenaCreationFinished: Prison [{0}{1}{2}] created successfully
chatAdminPlayerNotOnlineForUpdate: Player [{0}{1}{2}] is not currently online!
consoleInmatesLoaded: {0} inmates loaded
consolePrisonLoaded: Prison [{0}] loaded
scoreboardCell: Cell #
chatAdminPlayerUpdateStrikes: Updated {0}{1}{2}'s {3}{4}{5} to {6}{7}{8} successfully{9}!
chatAlcatrazPrisonFull: Prison {0}{1}{2} is currently full
chatPurchaseStrikesSuccessful: Purchase of {0}{1}{2} strike removal(s) for ${3}{4}{5} total - {6}successful{7}!
chatLockPickSuccess: Lock pick {0}{1}successful{2}!
chatCostMinute: Minute : ${0}
chatUnknownCommand: Unknown command!
chatWelcome: {0}WARDEN: {1} Welcome, inmate, to {2}{3}{4}. We've setup your prison account with the basics, like money. Take a look around and find your cell!
scoreboardKills: Kills
chatAdminUpdateSettingUnknown: Unknown setting to update!
scoreboardStrikes: Strikes
chatBuyUsageCommand: Buy Usage: {0} /alcatraz buy [item] [amount]
arenaCreationHeader1: ----------Alcatraz Arena Creation----------
scoreboardMoney: Money
chatLockPickFail: Lock pick {0}{1}failed{2}!
chatAdminSetPlayerSyntaxError: {0}Syntax error!
chatPurchaseListHeader: --- Prison Purchase List ---
chatAdminPlayerNotPlaying: Player [{0}{1}{2}] is not currently playing Alcatraz!
scoreboardOnline: Online
titleWelcomeNoCell1: Welcome to {0}{1}
consolePrisonsLoaded: {0} prisons loaded
chatAdminAddCellSuccess: Cell #{0}{1}{2} added to {3}{4}{5} successfully{6}!
chatLockPickClose: The door will close in 3 seconds
chatCellSignAddSuccess: Cell #{0}{1}{2} sign added {3}successfully{4}!
chatAlcatrazPrisonDNE: Prison {0}{1}{2} does not exist
chatChestAdd: Select the {0}{1}{2} chest with the selection tool ({3}{4}{5})
recipeShankLore: Nice and sharp...
consoleVaultHooked: Vault hooked
consolePluginDisabled: Disabling {0} v{1}
chatPurchaseMinutesSuccessful: Purchase of additional {0}{1}{2} minute(s) for ${3}{4}{5} total - {6}successful{7}!
consoleChestLoadRemoved: {0} chests found broken and removed
chatAlcatrazCommandsPlay2: {0} /alcatraz play [prisonName]
chatAdminPrisonOptionSyntaxError: {0}Syntax error! {1}
recipeShankName: Prison Shank
chatNoBlockBreak: You cannot break this type of block in prison!
chatNoInteractInfo: You are not allowed to interact with items until you've reached {0} kills
consoleChestLoadFood: {0} food chests loaded
chatRaidOver: The raid is now over
chatChestAddSuccess: {0}{1}{2} chest added to {3}{4}{5} successfully{7}!
scoreboardTimeLeft: Time Left
chatCellSignHeader: Alcatraz Add Cell
chatBlockPlace: You can not place blocks while playing Alcatraz!
chatAlcatrazCommandsNameNeeded: {0} You must provide the name of the prison you wish to play. Alcatraz         prisons are listed below:
chatAdminPlayerDNE: Player [{0}{1}{2}] is not playing nor have they ever played on this server!
consoleCellsRemoved: {0} cells of deleted prisons removed
consolesignsLoaded: {0} prison signs loaded
chatCellSignAdd: Select the sign for cell #{0}{1}{2} with the selection tool ({3}{4}{5})
chatToPlay: To play Alcatraz, execute {0} /alc play
chatPrisonCellListEmpty: Empty
chatPurchaseMinute: {0}Minute{1} - Adds a minute to your remaining time
chatRaidCaught2: {0}WARDEN: {1} You've been caught with a lock pick on your person during the raid. You've     been written up and have received one strike for your insolence
chatPurchaseStrikesNone: You have no strikes to purchase a strike removal for!
scoreboardName: -- {0} --
arenaCreationSelectPoint3: Second point selected! Now go inside the prison, and click anywhere to set your current location as the starting point with the selection tool ({0}{1}{2})
arenaCreationSelectPoint2: First point selected! Select the second point (highest point) of the prison perimeter with the selection tool ({0}{1}{2})
arenaCreationSelectPoint4: Start point selected! Now click anywhere to set your current location as the return location for when a player leaves the game with the selection tool ({0}{1}{2})
arenaCreationSelectPoint1: Select the first point (lower point) of the prison perimeter with the selection tool ({0}{1}{2})
chatAdminNoPrisonsList: There are prisons to display!
chatAdminPlayerKickedSuccess: Player [{0}{1}{2}] has been kicked from {4} successfuly{5}!
chatPrisonSpawnCancelled: Prison spawn {0}cancelled{1}! You cannot move while waiting for prison spawn
chatPrisonDeletedSuccess: Prison [{0}{1}{2}] removed {3}successfuly{4}!
consolePluginEnabled: Bootup took {0} ms
chatAdminPrisonAddSignSyntax: {0}Syntax error! {1} /alca add [prisonName] sign [cell#]
chatAdminPrisonCellNumDNE: Prison [{0}{1}{2}] cell #{3}{4}{5} does not exist!
chatThanks: Thanks for playing Alcatraz
chatChestAddHeader: Alcatraz Add Chest
chatLockPickAttempt: Attempting to pick the lock...
chatSignAddSuccess: Sign added successfully!
chatPrisonSpawn: You'll be teleported to the prison spawn in 3 seconds...don't move!
consoleCellsLoaded: {0} cells loaded
chatPrisonAlreadyExist: Prison [{0}{1}{2}] already exists!
consoleSignsRemoved: {0} prison signs found broken and removed from database
recipePickName: Lock Pick
chatRaidCommence: Attention all inmates, a raid is under way!
chatPrisonAdminSetupCommand: To setup prison:

Clone this wiki locally