override theme language

Laraship QuestionsCategory: Theme Customizationoverride theme language
Suhendra Katrali asked 5 years ago
I have new theme extends directory-basic theme. I try to override the language labels.php  I have place the same languange file on my theme, but still. Can you show me how to override extends them?

I have read this, but there is no clue.
https://www.laraship.com/docs/laraship/customize-laraship/customize-translation-files/ thanks.
1 Answers
laraship Staff answered 5 years ago
Hello, to override the language file it needs to be under resources/[theme-name]/language/label.php
Suhendra Katrali replied 5 years ago

I have try it, but still failed. I have another form to.

st3fan replied 5 years ago

I have the same issue.

@lang(‘new-theme::auth.my_account’)

above does not work, it will show as plain text in web

var/www/html/resources/themes/new-theme/lang/en/auth.php