Skip to content

How I can add a link in Laravel-Lang string ? #21

Answered by andrey-helldar
Van4kk asked this question in Q&A
Discussion options

You must be logged in to vote

You can create your own repository using our template: https://github.com/Laravel-Lang/translations-template

In the source folder, delete all unnecessary files, create your own, for example, links.json.

Then run the vendor/bin/lang create en command in the console.

The localization code can be any available from the list: https://github.com/Laravel-Lang/publisher/blob/main/src/Constants/Locales.php

After that, change the files in the src folder for yourself and publish the package.

Next, using our publisher, your translations will be automatically installed in the application when you call the php artisan lang:update command.

Simple steps: https://github.com/Laravel-Lang/translations-temp…

Replies: 0 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@Van4kk
Comment options

@andrey-helldar
Comment options

Answer selected by andrey-helldar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants