Open walster001 opened 1 week ago
@walster001
all-boards
is the correct text that will replaced with translations, when translation Javascript has been run. But that translation code is part of about 10 MB of clientside Javascript, it takes some time before browser has run all that code.
Correct way to fix it would be to render it serverside. Not clientside.
Issue
Server Setup Information
Problem description
When language is set to "English" default jade code makes home button "all-boards" and my boards header "my-boards" When set to "English - UK" it displays correctly (due to using the language files).
Was thinking the solution would be to simply remove the dash in the jade code for the userheader/header as I believe English uses this when there is no defined other value in the language files.![Board-AllBoards](https://github.com/wekan/wekan/assets/11192349/54855b37-985d-4a6c-b42e-53f7a3da87b4)
e.g.
| {{_ 'All Boards'}}
Not sure whether this is the code which writes the header for the app in regards to fixing "my-boards"?![Board-my-boards-code](https://github.com/wekan/wekan/assets/11192349/453ee9c3-9173-46a8-ab20-86b63cf1aee1)
Happy to create a pull req if this is indeed the correct code @xet7 Kind Regards, Matthew.