Languages
FR Guard comes translated into 5 languages:
| Code | Language |
|---|---|
es | Spanish (default) |
en | English |
pt | Portuguese |
fr | French |
de | German |
The following are automatically translated:
- The connection cards players see.
- Kick messages.
- Staff notifications.
How to change the language
Just change one line in your server.cfg:
set fiverank_language "en" # es | en | pt | fr | de
Then restart the resource:
restart fiverank_guard
Done!
My language isn't available
You can add your own by editing config.lua. It's just a list of text strings,
no programming required. If you translate one completely, send it to us on
Discord and we'll include it in the official
release for the whole community.
I want to change a specific text
For example, changing the appeal link to your server's Discord.
Open resources/fiverank_guard/config.lua and find the section
Config.Locales.en (or whichever language you're using). You'll see lines like:
['card.rejectedNegFame.cta'] = 'Appeal at fiverank.gg/support',
Change it to whatever you want:
['card.rejectedNegFame.cta'] = 'Appeal at discord.gg/myserver',
Restart the resource and the new text appears right away.