You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `<text direction>` parameter is optional. The default text direction is "ltr" (Left-to-Right).
295
+
296
+
4. Save the file.
297
+
298
+
##### Step 3: Test the recovery endpoint configuration
299
+
300
+
1. Go to your browser settings and add the language you configured above to your preferred languages list.
301
+
302
+
2. Restart the WSO2 Identity Server.
303
+
304
+
3. Open a browser and navigate to the account recovery URL.
305
+
306
+
- For localhost: [https://localhost:9443/accountrecovery/](https://localhost:9443/accountrecovery/)
307
+
308
+
4. You should see the recovery screens displaying content in the configured language.
309
+
310
+
#### Remove a locale from recovery endpoints
311
+
312
+
To remove a language from your recovery endpoints:
313
+
314
+
1. Delete the corresponding `Resources_<locale>.properties` files from the recovery endpoint directory.
315
+
316
+
2. Remove the language entry from the `LanguageOptions.properties` file (shared with authentication endpoints).
317
+
318
+
3. Restart the server for changes to take effect.
319
+
245
320
## Configure Text Direction (RTL & LTR)
246
321
247
322
WSO2 Identity Server supports both Right-to-Left (RTL) and Left-to-Right (LTR) text directions. **LTR is the default text direction** for most languages and doesn't require explicit configuration. RTL languages like Arabic, Hebrew, and Persian automatically adjust the interface layout and content flow when configured properly.
@@ -372,11 +447,11 @@ To configure text direction for languages in Console:
To configure text direction for recovery endpoints:
489
+
490
+
1. Navigate to `<IS_HOME>/repository/deployment/server/webapps/authenticationendpoint/WEB-INF/classes/`.
491
+
492
+
2. Open the `LanguageOptions.properties` file (shared with authentication endpoints).
493
+
494
+
3. Configure the language entry based on text direction:
495
+
496
+
**For LTR languages (default):**
497
+
498
+
```properties
499
+
lang.switch.en_US=en,English,ltr
500
+
```
501
+
502
+
or simply (LTR is assumed if not specified):
503
+
504
+
```properties
505
+
lang.switch.en_US=en,English
506
+
```
507
+
508
+
**For RTL languages:**
509
+
510
+
```properties
511
+
lang.switch.ar_AE=ar,Arabic - العربية,rtl
512
+
```
513
+
514
+
4. Save the file and restart the server for changes to take effect.
515
+
407
516
!!! tip
408
517
409
-
The RTL/LTR configuration for authentication and recovery endpoints applies to both applications when you update the `LanguageOptions.properties` file in the authentication endpoint directory.
518
+
The RTL/LTR configuration applies to both authentication and recovery endpoints since they share the same `LanguageOptions.properties` file.
0 commit comments