baselrabia/laravel-translate-message 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

baselrabia/laravel-translate-message

Composer 安装命令:

composer require baselrabia/laravel-translate-message

包简介

Provides new helper functions that take care of handling all the translation hassle and do it for you.

README 文档

README

Issues Stars Latest Version Software License Total Downloads

Happy Logo

Laravel Translate Message 🥳

This package provides new helper functions that take care of handling all the translation hassle and do it for you.

Installation

Begin by installing this package through Composer. Just run following command to terminal-

composer require baselrabia/laravel-translate-message

What Is New Here 🤔

In this package, you will be provided by two new Helper function

// two underscore and t function 
__t("app.Tranlation Word");
// three underscore Function 
___("app.Tranlation Word");

This Two helpers is a wrapper around the laravel helper trans() , __() that offer the translation of text from the lang file resource resource/lang/en/app.php

What Happen Then !!

our helpers allow you to write your message once when you call the function and it will translate it for you automatically and write there translating in resources/lang folder so if you would like to change the automated translation you can edit them there.

As you see it takes the hassle of going to every /lang/.. folder to write the translation for specific lang

Contributing

If you think something important is missing or should be different based on your experience, I'd love to hear it! If you have suggestions for improving this package, open an issue with your suggestion.

How to Contribute 💪

- Fork the project 

- Create a new branch with your changes:
$ git checkout -b my-feature

- Save your changes and create a commit message telling you what you did:
$ git commit -m "feature: My new feature"

- Submit your changes:
$ git push origin my-feature

License 📝

This repository is under MIT license. You can see the LICENSE file for more details. 😉

This project was developed with ❤️ by @Basel Rabia
If it helped you, give it ⭐, it will help me too 😉

Linkedin Badge

统计信息

  • 总下载量: 52
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-01-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固