Skip to content

Commit 68abf06

Browse files
Update registration.md to show how to use localization in documents (#84)
* Update registration.md to show terms of use and privacy policy documents localization Update the registration.md file in order to incorporate localization for the terms of use and privacy policy documents. * Update registration.md --------- Co-authored-by: Taylor Otwell <taylor@laravel.com>
1 parent 6568a40 commit 68abf06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

3.x/features/registration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ Next, you may write your terms of service / privacy policy documents by modifyin
102102

103103
During registration, Jetstream will automatically ask the user to approve these documents. When the user clicks on the link to view the documents, Jetstream will use [Tailwind's typography plug-in](https://tailwindcss.com/docs/typography-plugin) to render the Markdown into beautifully formatted prose.
104104

105+
#### Terms & Policy Localization
106+
107+
To serve localized versions of your terms of service and privacy policy, you may suffix the files with the desired locale, such as `terms.es.md`. Jetstream will automatically serve the correct version of the file based on the current locale that is configured for the application.
108+
105109
## Email Verification
106110

107111
Laravel Jetstream includes support for requiring that a newly registered user verify their email address. However, support for this feature is disabled by default. To enable this feature, you should uncomment the relevant entry in the `features` configuration item of your application's `config/fortify.php` configuration file:

0 commit comments

Comments
 (0)