apisix-dashboard icon indicating copy to clipboard operation
apisix-dashboard copied to clipboard

Langauge selection issue in Dashboard

Open jinusuresh opened this issue 5 years ago • 13 comments

Bug report

Despite setting the language to English , the language is not getting set in Dashboard , for example the create Route screen , first screen shows in English but the following screen is in Chinese , a screen shot attached

Describe the bug

SharedScreenshot

Despite setting the language to English , the language is not getting set in Dashboard , for example the create Route screen , first screen shows in English but the following screen is in Chinese , a screen shot attached

How to Reproduce

  1. Go to '...' "APISIX Dashboard"
  2. Click on '....' - Login as admin and click Select Route , then new Route , give name for the API and click next
  3. Scroll down to '....'
  4. See error

Expected behavior

When language ENGLISH is selected , it should consistently show all screens in English

Screenshots

attached

System information

  • OS: [e.g. macOS, Windows] - Windows
  • Browser (if applies) [e.g. Chrome, Safari, Edge] - Chrome/Firefox
  • Version: [e.g. 2.0-rc3] - Latest

Additional context

Add any other context about the problem here.

jinusuresh avatar Dec 30 '20 11:12 jinusuresh

Hi, I just checked the latest codes from the master branch, but couldn't produce this issue.

cc @idbeta Please have a try on the Windows, thanks!

image

juzhiyuan avatar Dec 30 '20 12:12 juzhiyuan

Hi, I just checked the latest codes from the master branch, but couldn't produce this issue.

cc @idbeta Please have a try on the Windows, thanks!

I tried the master branch and v2.2 branch in windows7, but the problem cannot be reproduced.

idbeta avatar Dec 31 '20 15:12 idbeta

got it, thanks.

@jinusuresh Please have a try on the master branch with APISIX master, if this issue still occurred, we could reopen this issue.

juzhiyuan avatar Dec 31 '20 15:12 juzhiyuan

Hi ,

This is what used after taking the code from master branch on Ubuntu 20.x

docker build --build-arg APISIX_VERSION=2.1 --build-arg APISIX_DASHBOARD_VERSION=v2.2 -t apache/apisix-dashboard:test5 -f ./all-in-one/apisix-dashboard/Dockerfile .

Thanks, Jinu Sureshbabu

From: 琚致远mailto:[email protected] Sent: Thursday, December 31, 2020 9:21 PM To: apache/apisix-dashboardmailto:[email protected] Cc: Jinu S - ASISTAmailto:[email protected]; Mentionmailto:[email protected] Subject: Re: [apache/apisix-dashboard] Langauge selection issue in Dashboard (#1163)

got it, thanks.

@jinusureshhttps://github.com/jinusuresh Please have a try on the master branch with APISIX master, if this issue still occurred, we could reopen this issue.

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/apache/apisix-dashboard/issues/1163#issuecomment-752992669, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMIMWN4H62UAKRNNKGC3GL3SXSMYLANCNFSM4VOGUSAQ.

ASISTA - Ticketing and Automation Software Asista Software Solutions Private Ltd | No 3, Maruthi Corner | Banaswadi Main Road | Banaswadi | Bangalore - 560043 | India.

::DISCLAIMER:: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The email and its contents (with or without referred errors) shall therefore not attach any liability on the originator or ASISTA or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of ASISTA or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of ASISTA is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

jinusuresh avatar Dec 31 '20 16:12 jinusuresh

Also did this to run

docker run -v pwd/all-in-one/apisix/config.yaml:/usr/local/apisix/conf/config.yaml -v pwd/all-in-one/apisix-dashboard/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml -p 19080:9080 -p 12379:2379 -p 19000:9000 -d apache/apisix-dashboard:test5

Thanks, Jinu Sureshbabu

From: Jinu S - ASISTAmailto:[email protected] Sent: Thursday, December 31, 2020 10:14 PM To: apache/apisix-dashboardmailto:[email protected]; apache/apisix-dashboardmailto:[email protected] Cc: Mentionmailto:[email protected] Subject: RE: [apache/apisix-dashboard] Langauge selection issue in Dashboard (#1163)

Hi ,

This is what used after taking the code from master branch on Ubuntu 20.x

docker build --build-arg APISIX_VERSION=2.1 --build-arg APISIX_DASHBOARD_VERSION=v2.2 -t apache/apisix-dashboard:test5 -f ./all-in-one/apisix-dashboard/Dockerfile .

Thanks, Jinu Sureshbabu

From: 琚致远mailto:[email protected] Sent: Thursday, December 31, 2020 9:21 PM To: apache/apisix-dashboardmailto:[email protected] Cc: Jinu S - ASISTAmailto:[email protected]; Mentionmailto:[email protected] Subject: Re: [apache/apisix-dashboard] Langauge selection issue in Dashboard (#1163)

got it, thanks.

@jinusureshhttps://github.com/jinusuresh Please have a try on the master branch with APISIX master, if this issue still occurred, we could reopen this issue.

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/apache/apisix-dashboard/issues/1163#issuecomment-752992669, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMIMWN4H62UAKRNNKGC3GL3SXSMYLANCNFSM4VOGUSAQ.

ASISTA - Ticketing and Automation Software Asista Software Solutions Private Ltd | No 3, Maruthi Corner | Banaswadi Main Road | Banaswadi | Bangalore - 560043 | India.

::DISCLAIMER:: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The email and its contents (with or without referred errors) shall therefore not attach any liability on the originator or ASISTA or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of ASISTA or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of ASISTA is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

jinusuresh avatar Dec 31 '20 16:12 jinusuresh

I am still getting the same issue , first screen English and second screen Chinese. I can help with any other info you might need to resolve this

Thanks, Jinu Sureshbabu

From: Jinu S - ASISTAmailto:[email protected] Sent: Thursday, December 31, 2020 10:16 PM To: apache/apisix-dashboardmailto:[email protected]; apache/apisix-dashboardmailto:[email protected] Cc: Mentionmailto:[email protected] Subject: RE: [apache/apisix-dashboard] Langauge selection issue in Dashboard (#1163)

Also did this to run

docker run -v pwd/all-in-one/apisix/config.yaml:/usr/local/apisix/conf/config.yaml -v pwd/all-in-one/apisix-dashboard/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml -p 19080:9080 -p 12379:2379 -p 19000:9000 -d apache/apisix-dashboard:test5

Thanks, Jinu Sureshbabu

From: Jinu S - ASISTAmailto:[email protected] Sent: Thursday, December 31, 2020 10:14 PM To: apache/apisix-dashboardmailto:[email protected]; apache/apisix-dashboardmailto:[email protected] Cc: Mentionmailto:[email protected] Subject: RE: [apache/apisix-dashboard] Langauge selection issue in Dashboard (#1163)

Hi ,

This is what used after taking the code from master branch on Ubuntu 20.x

docker build --build-arg APISIX_VERSION=2.1 --build-arg APISIX_DASHBOARD_VERSION=v2.2 -t apache/apisix-dashboard:test5 -f ./all-in-one/apisix-dashboard/Dockerfile .

Thanks, Jinu Sureshbabu

From: 琚致远mailto:[email protected] Sent: Thursday, December 31, 2020 9:21 PM To: apache/apisix-dashboardmailto:[email protected] Cc: Jinu S - ASISTAmailto:[email protected]; Mentionmailto:[email protected] Subject: Re: [apache/apisix-dashboard] Langauge selection issue in Dashboard (#1163)

got it, thanks.

@jinusureshhttps://github.com/jinusuresh Please have a try on the master branch with APISIX master, if this issue still occurred, we could reopen this issue.

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/apache/apisix-dashboard/issues/1163#issuecomment-752992669, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMIMWN4H62UAKRNNKGC3GL3SXSMYLANCNFSM4VOGUSAQ.

ASISTA - Ticketing and Automation Software Asista Software Solutions Private Ltd | No 3, Maruthi Corner | Banaswadi Main Road | Banaswadi | Bangalore - 560043 | India.

::DISCLAIMER:: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The email and its contents (with or without referred errors) shall therefore not attach any liability on the originator or ASISTA or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of ASISTA or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of ASISTA is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

jinusuresh avatar Dec 31 '20 16:12 jinusuresh

@idbeta Please take a further deep search on this issue.

juzhiyuan avatar Jan 01 '21 00:01 juzhiyuan

Hi Guys ,

Any update ?

Thanks, Jinu Sureshbabu

From: 琚致远mailto:[email protected] Sent: Friday, January 1, 2021 5:43 AM To: apache/apisix-dashboardmailto:[email protected] Cc: Jinu S - ASISTAmailto:[email protected]; Mentionmailto:[email protected] Subject: Re: [apache/apisix-dashboard] Langauge selection issue in Dashboard (#1163)

@idbetahttps://github.com/idbeta Please take a further deep search on this issue.

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/apache/apisix-dashboard/issues/1163#issuecomment-753229529, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMIMWNYRT2HQIBF6UKGTOEDSXUHR3ANCNFSM4VOGUSAQ.

ASISTA - Ticketing and Automation Software Asista Software Solutions Private Ltd | No 3, Maruthi Corner | Banaswadi Main Road | Banaswadi | Bangalore - 560043 | India.

::DISCLAIMER:: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The email and its contents (with or without referred errors) shall therefore not attach any liability on the originator or ASISTA or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of ASISTA or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of ASISTA is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

jinusuresh avatar Jan 07 '21 06:01 jinusuresh

Hi Guys ,

Any update ?

Hi @jinusuresh , good to see you and sorry for late.

Hi , This is what used after taking the code from master branch on Ubuntu 20.x docker build --build-arg APISIX_VERSION=2.1 --build-arg APISIX_DASHBOARD_VERSION=v2.2 -t apache/apisix-dashboard:test5 -f ./all-in-one/apisix-dashboard/Dockerfile . Thanks

It seems that your previous command specified a build argument APISIX_DASHBOARD_VERSION=v2.2, which would lead to use the code from v2.2 release of dashboard, instead of the latest code from master. The default value for APISIX_DASHBOARD_VERSION is master, so could you please take a try with the following command?

docker build --build-arg APISIX_VERSION=2.1 -t apache/apisix-dashboard:test5 -f ./all-in-one/apisix-dashboard/Dockerfile .

Looking forward to your feedbacks. Thanks.

imjoey avatar Jan 07 '21 06:01 imjoey

This command should under the apisix-docker repo, right?

juzhiyuan avatar Jan 07 '21 06:01 juzhiyuan

This command should under the apisix-docker repo, right?

@juzhiyuan Yep.

imjoey avatar Jan 07 '21 07:01 imjoey

We have pushed the new docker image to DockerHub apache/apisix-dashboard, please have a try.

juzhiyuan avatar Jan 12 '21 11:01 juzhiyuan

Thanks , it got fixed

Thanks, Jinu Sureshbabu

From: 琚致远mailto:[email protected] Sent: Tuesday, January 12, 2021 5:12 PM To: apache/apisix-dashboardmailto:[email protected] Cc: Jinu S - ASISTAmailto:[email protected]; Mentionmailto:[email protected] Subject: Re: [apache/apisix-dashboard] Langauge selection issue in Dashboard (#1163)

We have pushed the new docker image to DockerHub apache/apisix-dashboard, please have a try.

― You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/apache/apisix-dashboard/issues/1163#issuecomment-758601219, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMIMWN4MDKE4OPZFMX2OZTTSZQYQ5ANCNFSM4VOGUSAQ.

ASISTA - Ticketing and Automation Software Asista Software Solutions Private Ltd | No 3, Maruthi Corner | Banaswadi Main Road | Banaswadi | Bangalore - 560043 | India.

::DISCLAIMER:: --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The email and its contents (with or without referred errors) shall therefore not attach any liability on the originator or ASISTA or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of ASISTA or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of ASISTA is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

jinusuresh avatar Jan 12 '21 13:01 jinusuresh