Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Feature] Allow user to choose language with a specific language command #1411

Closed
maxlehot1234 opened this issue Jun 21, 2020 · 1 comment
Assignees
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Enhancement Improvement or modification which is usually a new feature.

Comments

@maxlehot1234
Copy link

Hi is it possible for you to implement something like:

./ob language
./ob language fr_FR

So I make players to run this command automatically after Triton (plugin to translate every string).

If a player choose a language into Triton (or any other similar plugins), I want to run a command like the specific language associated with their lanaguage.

Right now they only had the choice to open a language GUI to choose a language, which is not best thing in this case.

Thanks again and hope you can do something for this ;)

@Poslovitch Poslovitch transferred this issue from BentoBoxWorld/AOneBlock Jun 21, 2020
@Poslovitch Poslovitch added Status: Pending Waiting for a developer to start working on this issue. Type: Enhancement Improvement or modification which is usually a new feature. labels Jun 21, 2020
@Poslovitch Poslovitch self-assigned this Jun 21, 2020
Poslovitch added a commit that referenced this issue Jun 22, 2020
Implements #1411
The IslandLanguageCommand now have tab-completion.
Added LocalesManager#isLocaleAvailable(Locale).
@Poslovitch Poslovitch added Status: Done This issue has been completed or answered. This pull request has been merged. and removed Status: Pending Waiting for a developer to start working on this issue. labels Jun 22, 2020
@Poslovitch
Copy link
Member

You will be able to use /[player_command] lang [language code] to achieve this ;).
As an example: /island lang fr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Enhancement Improvement or modification which is usually a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants