You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
470 B
Markdown
20 lines
470 B
Markdown
|
1 year ago
|
# setLanguageID
|
||
|
|
|
||
|
|
TThis function allows you to select a language code using the predefined 'Languages' enum.
|
||
|
|
|
||
|
|
The default language is English ('Languages.en'), but the function also supports Arabic ('Languages.ar').
|
||
|
|
|
||
|
|
Example usage:
|
||
|
|
|
||
|
|
```java
|
||
|
|
setLanguageID(Languages.ar); // sets the language to Arabic
|
||
|
|
```
|
||
|
|
|
||
|
|
```java
|
||
|
|
setLanguageID(Languages.en); // sets the language to English
|
||
|
|
```
|
||
|
|
|
||
|
|
```java
|
||
|
|
setLanguageID(languageCode)
|
||
|
|
```
|
||
|
|
The default language of the P&P module is English.
|