baijunyao / laravel-bjyblog

Laravel v9 blog
https://baijunyao.com/docs/laravel-bjyblog
MIT License
525 stars 201 forks source link

About translation - Question #73

Closed yuri25 closed 5 years ago

yuri25 commented 5 years ago

Can you please tell me how to add another language to the system? And in what files you need to change for this? I want to try to translate into Russian. Thank.

baijunyao commented 5 years ago

Thank you!
You need to translate the two files below.
You can use the git command or web editor.

  1. https://github.com/baijunyao/laravel-bjyblog/blob/feature/ISSUE-73-russian-translate/resources/lang/ru.json

    9 8
  2. https://github.com/baijunyao/laravel-bjyblog/blob/feature/ISSUE-73-russian-translate/resources/lang/ru/others.php
    Do not modify the following html tag.
    <span class="b-highlight">:word</span>
    <span class="b-highlight">:tag</span>
    <span class="b-highlight">:count</span>

    7
yuri25 commented 5 years ago

I will do this soon. Thank you very much!

yuri25 commented 5 years ago

I made changes to translate into Russian. Check, please. When I see the translation on my test site, something may need to be changed. Thank you very much!

yuri25 commented 5 years ago

Unfortunately, I am not good at working with git ... Please help if I can’t do everything right.

baijunyao commented 5 years ago

Good job! Thank you very much!

yuri25 commented 5 years ago

Hello. What are my next steps?

baijunyao commented 5 years ago

You have not to do anything, I will merge the code into the master branch at 2019-08-10, I will upgrade the new version every Saturday.

yuri25 commented 5 years ago

Thank you very much!

baijunyao commented 5 years ago

The new version has been released, you can upgrade it.
https://baijunyao.com/docs/laravel-bjyblog/en/Upgrade.html