Make search multilingual (#305)
* Make search multilingual * Added Support for custom country flags * Add search.md for more language + fix search behavior Signed-off-by: hossainemruz <hossainemruz@gmail.com> Co-authored-by: Pablo Marcos <codebergflamingo@staplehorse.anonaddy.com> Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
This commit is contained in:
parent
16f64aa4c2
commit
ac28e9824e
34 changed files with 1315 additions and 17 deletions
|
@ -1,5 +1,6 @@
|
|||
{{/* if there is no custom flag provided, we define the flag with the country code */}}
|
||||
{{ $languageCode:= .Lang }}
|
||||
{{/* by default the language code and the country code are same */}}
|
||||
{{/* by default the language code and the country code are same */}}
|
||||
{{ $countryCode:= $languageCode }}
|
||||
|
||||
{{/* language code and country code are not same for some countries. we need to fix them. */}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue