Join the conversation

Sign in to join this conversation, and others like it, in the communities you care about.

Wekan

Wekan is an open-source kanban board (Trello like) which allows a card-based task and to-do management.

Wekan / Bugs

How to change Language Text?

How to change Language Text?

Wekan / Bugs · April 4, 2020 at 5:25pm

How to change Traditional Chinese (Taiwan) text in "Change Language" feature?

2020-04-05_1-21-32.png

The right text should be 繁體中文(台灣).


April 6, 2020 at 2:31am

You create pull request to change this file where is also other replacements https://github.com/wekan/wekan/blob/master/client/components/main/layouts.js#L74

    • reply
    • like

    April 6, 2020 at 10:17am

    April 6, 2020 at 5:21pm

    @xet7 I just tested. It's not working in my local build. May I ask where is the global variable TAPi18n?

      • reply
      • like

      April 7, 2020 at 1:41am

      I'm working so hard to find out what's TAPi18n but failed. It looks like comes from https://github.com/TAPevents/tap-i18n but wekan is not using the latest version. I can't find what's the exact version wekan use. :(

        • reply
        • like

        There is an update for this in tap-i18n project 4 years ago, but the meteor tap:i18n package looks like not updating long time ago.

        https://github.com/TAPevents/tap-i18n/commits/5660edb39143852cbf6572e205b344b669152708/lib/plugin/etc/language_names.js

          Edited
          • reply
          • like

          April 7, 2020 at 8:25am

          Yes it would help to know where is newest one, and have that updated to Wekan

            • reply
            • like

            Another way is to fork that current Atmospherejs version, and add it directly to wekan/packages/i18n similarly like some other packages already are defined in their packages/*/package.json as different name, that is also added to wekan/.meteor/packages and wekan/.meteor/versions

              • reply
              • like

              Or alternatively, if there is up-to-date npm package, change to use it

                • reply
                • like

                like: meteor remove tap:i18n && meteor npm install tap-i18n

                  • reply
                  • like

                  Hmm, I'll look at that TAPevents

                    • reply
                    • like

                    @xet7 I finally fix the problem on wekan's side. Please check this out: https://github.com/wekan/wekan/pull/2990

                      • reply
                      • like

                      @xet7 by the way, there is no npm package named tap-i18n. :)

                        • reply
                        • like

                        @xet7 also, the tap-i18n is stalled on v1.8.1 since May 24, 2016. Although they are merged the lang name fix on Oct 22, 2016. There are just not releasing the new version. Issue here: https://github.com/TAPevents/tap-i18n/issues/215

                          • reply
                          • like

                          Well, I think the correct way would be for me to publish updated package to atmospherejs

                            • reply
                            • like

                            I don't know should those packages be only wekan-specific forks

                              • reply
                              • like

                              Original maintainer of Wekan mquandalle also had many of his packages at atmospherejs

                                • reply
                                • like

                                Hmm, it seems that I already have forked this before https://github.com/wekan/tap-i18n

                                  • reply
                                  • like

                                  So I will fix that instead

                                    • reply
                                    • like

                                    April 7, 2020 at 1:11pm

                                    Good job! :)

                                      • reply
                                      • like

                                      April 7, 2020 at 3:13pm

                                      Hmm, some of those issues recommended using this instead https://atmospherejs.com/universe/i18n

                                        • reply
                                        • like