Skip to content

Commit

Permalink
Fixed error in documentation of language plugin on how to retrieve th…
Browse files Browse the repository at this point in the history
…e current language.
  • Loading branch information
michielvandergeest committed Oct 2, 2024
1 parent 86d4f30 commit 4bb3093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugins/language.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Blits.Component('MyComponent', {

## Getting the current language

The current language can be retrieved via the `this.$language.get()` method. It will return the currently set language code.
The current language can be retrieved via the `this.$languagelanguage` property. It will return the currently set language code.

## Translating

Expand Down

0 comments on commit 4bb3093

Please sign in to comment.