-
-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Translations not appearing #2167
Comments
Have you previously published the views? |
Please also confirm which locale you're trying to use |
Another dev on this codebase here. Our app defaults to en_US. When I initially wrote this table on the previous version of the package (3.4) I used We haven't published any views. When I read the docs I was under the impression that's something you should avoid unless you need to customize them. |
In this section of the documentation, it recommends not to publish views unless you want to customize this package, which we don't: |
Both json and array translations are supported, there is a toggle to switch between them. Can you confirm which locale(s) aren't working for you? The default is array localisations, but you can switch to json by setting this in the config file: 'use_json_translations' => true, It is default to false. |
What happened?
I'm missing translations when I view the table in version 3.5.10. Attached is a screenshot (I deleted the table rows for privacy).
Below is my
config/livewire-tables.php
file's contents:How to reproduce the bug
Package Version
3.5.10
PHP Version
None
Laravel Version
10.0
Alpine Version
No response
Theme
None
Notes
No response
Error Message
No response
The text was updated successfully, but these errors were encountered: