Skip to content

Add Translatable Tags #5481

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

Merged
merged 3 commits into from
Mar 10, 2023
Merged

Add Translatable Tags #5481

merged 3 commits into from
Mar 10, 2023

Conversation

UnderscoreTud
Copy link
Member

@UnderscoreTud UnderscoreTud commented Mar 1, 2023

Description

This PR implements translatable tags in Skript's formatting system. The syntax is <translate:key[:value1:value2:...]>, where values are optional

An example of a translation without values:
image

An example of a translation with values:
image


Target Minecraft Versions: any
Requirements: none
Related Issues: #4875

@UnderscoreTud UnderscoreTud added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Mar 1, 2023
Copy link
Member

@AyhamAl-Ali AyhamAl-Ali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good ⚡

@AyhamAl-Ali
Copy link
Member

AyhamAl-Ali commented Mar 1, 2023

This requires docs Text Tutorial update, can you open an issue for that on skript-docs? maybe a PR? :D

@UnderscoreTud
Copy link
Member Author

Oh, I don't know HTML

@TheLimeGlass TheLimeGlass merged commit 2fcb4d4 into master Mar 10, 2023
@TheLimeGlass TheLimeGlass deleted the feature/translatable-component branch March 10, 2023 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants