Closed swingywc closed 5 years ago
Hello there! Thanks for opening your first issue on this repo!
Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.
Backpack communication mediums:
backpack-for-laravel
tag;Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.
Thank you!
-- Justin Case The Backpack Robot
Should the $browsingLangObj
change to $currentLangObj
too? I am confused.
Found out that in config/backpack/crud.php
there are no hk
or cn
language code to use.
There are two solutions:
abbr
length and Lanuages rules
to allow language code like zh_Hant_HK
, zh_Hans_CN
etc.config/backpack/crud.php
, i.e. hk
and cn
.My current solution is rebuilding project and use solution 2. @tabacitu should it allow typing language code more than two character? referencing issue #1
By the way, closing issue.
Step to reproduce:
Languages
table, Traditional Chinese with codehk
and Simplified Chinese with codecn
.resources/lang/cn/home.php
andresources/lang/hk/home.php
with following structure:Site texts
table, try to read the result inHome
tab.Error encountered
in line 64:
I try to debug with
{{ dd($browsingLangObj) }}
before that line and found out that it isnull
.Please help me, thanks :(