wekan / wekan

The Open Source kanban (built with Meteor). Keep variable/table/field names camelCase. For translations, only add Pull Request changes to wekan/i18n/en.i18n.json , other translations are done at https://app.transifex.com/wekan/wekan only.
https://wekan.github.io
MIT License
19.25k stars 2.8k forks source link

When default language English, Home button = All-boards, My Boards = my-boards #5456

Open walster001 opened 1 week ago

walster001 commented 1 week ago

Issue

Server Setup Information

Problem description

Board-Allboards-English

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

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

Happy to create a pull req if this is indeed the correct code @xet7 Kind Regards, Matthew.

xet7 commented 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.