我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何在PHP中管理标签的翻译,Laravel?

I am creating laravel app and understand how to use it's locale options for my Views by using __() function.

But I have something being added from DB. In my app there are 10 tags for posts: News, Updates, Reminders, Events etc.

How can I get the translated name of the tag in my View? is there any convenient method of doing it?

近期文章

  • 通过xpath选择多个索引的更好方法
  • joomla 3 - 如何禁用前端登录组件?
  • 不能多次使用提交按钮
  • 在WordPress页面中插入Symfony操作或树枝
  • Yii:如何更改渲染功能的默认路径?
  • 从php中的关联数组中删除文件路径
  • PHP,Doctrine,使用不同的“where”和“on”加入
  • PHP DateTime:7天之间的下一个星期二
  • Laravel 5路由中有多个可选参数
  • WooCommerce - 更改QTY触发购物车中的AJAX调用
  • 使用PHP的Facebook messenger机器人 - 回发示例?
  • 如何将域名分配给wamp中的虚拟主机
  • 从magento表结构获取客户信息
  • Yii2 AuthClient无法使用facebook登录
  • PHP从zip文件目录中读取文本文件
  • 使用netbeans,xdebug,symfony和phpunit
  • Facebook应用程序选项卡 - >与PHP的外部链接
  • 如何在类之间操纵私有变量
  • 单元测试:解释模拟对象的有用性[重复]
  • 在Docker环境中使用Symfony进行生产

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华