mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-21 18:15:25 +01:00
Page:
Localization
Pages
4.0.0 Set Up after 3.6.4
APIv4
APIv5 DataExtension API
APIv5 DataExtension API by Example
APIv5 PageExtension API
APIv5 Query API
APIv5
Architectural Decision Records
Bukkit Configuration
Bukkit Set Up
Bungee Configuration
Bungee Set Up
Commands & Permissions
Contribution Guidelines
DataExtension API Getting started
DataExtension API Builders
Database Schema
Database management
External WebServer Use
External Webserver use: Reverse proxy
Get Started
Home
How to configure X
How to update supported fabric version for curseforge release pipeline
How to update the plugin
Html Customization migration guide to React
Html Customization
Localization
Migration guide from Version 4.x.x to Version 5.0
Migration guide from Version 5.5 to 5.6
Migration guide to Version 5.1 build 768
PlaceholderAPI
Possible GDPR Privacy Policy section
Preparation for update with database schema changes
Project Architecture
Project Setup
Query API Getting started
SSL Certificate (HTTPS) Set Up
Supported Plugins
Themes
Web permissions
12
Localization
Aurora Lahtela edited this page 2023-10-07 08:37:06 +03:00
Table of Contents
Localization
This article will tell you how you can change the messages seen in the plugin.
Config setting
In the config, there is a setting for Locale. Setting this to, for example FI, (Finnish) will attempt to use locale from inside the plugin jar. Inside the plugin there are multiple locale files.
Generating a locale file
- Set the locale to one you want to customize (FI will create locale.yml with the Finnish locale as base)
- Set
Logging.Create_new_locale_file_on_next_enable
totrue
and/plan reload
locale.yml
should appear in/plugins/Plan
- This file will be used for locale when present.
Updating old locale files
- (Optional) Set
Logging.Create_new_locale_file_on_next_enable
totrue
and/plan reload
- New lines will be added without modifying old ones
- Set
Logging.Log_untranslated_locale_keys
totrue
and/plan reload
- Keys with default values will be printed on the console.
End
If you want to help me out with localizing the plugin to your language, you can translate the locale file to your language and send the contents to me in one way:
- Do a pull request
- Open an issue
- Send me private message on spigot
- Discord Support
Documentation
Tutorials
Configuration
- Game server Set-up
- Network Set-up
- Game server Configuration
- Network Configuration
- Login / HTTPS Set-Up
- Commands & Permissions
- Database management
- PlaceholderAPI