Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › The update on 01/10/2023 lost translations of the first level menus
Tagged: A atualização do dia 10/01/2023 fez perder as traduções dos menus de primeiro nível, A atualização dos menus de primeiro nível do dia 10/01/2023 fez perder as traduções dos menus de primeiro nível de todas as áreas de trabalho, The update of the first level menus on 01/10/2023 lost translations of the first level menus of all workspaces
- This topic has 62 replies, 12 voices, and was last updated Jan 29-5:52 pm by Wallon.
-
AuthorPosts
-
January 10, 2023 at 9:57 pm #97122Member
marcelocripe
The update of the first level menus on 01/10/2023 lost translations of the first level menus of all workspaces.
Even applying the $ sudo desktop-menu –write-out-global command, the first-level menus continue to be displayed in English on an antiX 21 installed on the hard disk in Brazilian Portuguese.
I normally restarted the computer after the update and the problem remains.
Please check if the same problem occurs in other languages.
marcelocripe
(Original text in Brazilian Portuguese language)– – – – –
A atualização dos menus de primeiro nível do dia 10/01/2023 fez perder as traduções dos menus de primeiro nível de todas as áreas de trabalho.
Mesmo aplicando o comando $ sudo desktop-menu –write-out-global, os menus de primeiro nível continuam em sendo exibidos em idioma Inglês em um antiX 21 instalado no disco rígido em idioma Português do Brasil.
Eu reiniciei normalmente o computador após a atualização e o problema continua.
Por favor, verifiquem se o mesmo problema ocorreu em outros idiomas.
marcelocripe
(Texto original em idioma Português do Brasil)January 10, 2023 at 10:07 pm #97126Forum Admin
anticapitalista
::Upgrades do not touch anything in user home – which is where the first level menus reside.
Something else must have happened to cause the change.Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
January 11, 2023 at 3:23 am #97149Member
marcelocripe
::Upgrades do not touch anything in user home – which is where the first level menus reside.
Something else must have happened to cause the change.This time it somehow modified the first level menus. I think there were about 21 questions (if I didn’t miss counting) offering to update the menu files of all desktops.
I didn’t install any kind of program that modifies the menus.
I get the information “All packages are up to date.” for the sudo apt update command.
Is there any information that you can provide here that would be useful in trying to identify this problem?
– – – – –
Upgrades do not touch anything in user home – which is where the first level menus reside.
Something else must have happened to cause the change.Desta vez de algum forma modificou os menus de primeir nível. Eu acho que foram cerca 21 perguntas (se eu não errei a contagem) oferecendo a atualização dos arquivos dos menus de todos as áreas de trabalho.
Eu não instalei nenhum tipo de programa que modifica os menus.
Eu recebo a informação “All packages are up to date.” para o comando sudo apt update.
Existe alguma informação que possa disponibilizar aqui que seja útil para tentar identificar este problema?
January 11, 2023 at 8:48 am #97157MemberXunzi_23
::Bom dia! Como via? Marcelo,
the appropriate /var/log/apt/history.log /var/log/apt/term.log may provide some insight.
menu changes.I refused to let the system update do some changes to ICE and other WM settings.
If the setup was changed then menus refreshed by user maybe that could have triggered the annoyance.
Important for potential help, Did you use standard apt upgrade full-upgrade to update or the application
nala as a frontend ?. I have seen you are involved with the project with regard to translation.- This reply was modified 3 months, 4 weeks ago by Xunzi_23.
January 11, 2023 at 10:50 am #97161MemberPPC
::Hi Marcelo. I just updated my antiX 22 Full, 64bits computer, that is set to pt-pt. I got no problem at all with the first layer of the menu in icewm (I haven’t checked in the other Window Managers).
The update includes new versions of “desktop-defaults-icemwm/jwm/fluxbox-antix”. Apt, during the upgrade asked me if I wanted to keep the current version of the menus or the new one and the default answer (that is selected if you just press enter) is “n”- keep the current version, do not update the config files.
Even if I had choosen to change to the new versions of the config files, the template from which the menu entries (and also toolbar entries, I think) is generated is in my own language, pt-pt.
You can check the template (and copy and paste the relevant lines to your menu file(s)) here: /etc/skel/.icewm/menu (open that file in a text editor, like geany, and check if everything is in pt-br- it should be in your system’s default language). You can check the files in the folders for the other 2 window managers too.
My guess is that your system had some kind of problem, and antiX “thought” you were in english, when it performed the upgrades. If that did, in fact, happen, then the menu file in the “skel” folder should also be in english, and not in pt-br…
Please check that and report back, as soon as you can!Edit: I tried to attach my “menu” template file, in pt-pt, available in /etc/skel/.icewm/menu
P.
- This reply was modified 3 months, 4 weeks ago by PPC.
January 11, 2023 at 12:15 pm #97163Member
marcelocripe
::Hello Xunzi_23 and PPC.
Important for potential help, Did you use standard apt upgrade full-upgrade to update or the application
nala as a frontend ?. I have seen you are involved with the project with regard to translation.Yes, I’m a volunteer translator for this project and others, but I don’t know if they’re using my translations or not, since I don’t use this program.
The 64-bit antiX 21 full instance in question is installed on a hard drive partition and I use only the translations available in antiX and antiX updates, plus Conky’s translation and an internet browser. This instance, I use to serve as an example to teach other Brazilians in Telegram and WhatsApp groups on how to use antiX. Yesterday, I applied the commands sudo apt update and then sudo apt upgrade, I captured some photos with the phone to post in these Telegram and WhatsApp groups on how to answer the questions that were asked, if you answer “i” or “y” and pressing the Enter key will install the new version or the latest version. Normally, when we answer “i” or “y” comes the new translations of the menus (from the .desktop files). However, if we answer “n” or press the Enter key, the new version will not be installed and the menu translations will not be received. This is my experience of what happened in antiX updates.
Apt, during the upgrade asked me if I wanted to keep the current version of the menus or the new one and the default answer (that is selected if you just press enter) is “n”- keep the current version, do not update the config files.
PPC, do you understand that if you answer “n” or press the Enter key, the new version will not be installed and menu translations will not be received?
During antiX updates, the menus are often in English, but at the end of the process the menus are written again (sudo desktop-menu –write-out-global) and the menus are again displayed in the pt-BR language, but in yesterday’s update this did not happen.
the appropriate /var/log/apt/history.log /var/log/apt/term.log may provide some insight.
menu changes.As soon as possible, I will post the “history.log” and “term.log” files here.
– – – – –
Olá Xunzi_23 e PPC.
Important for potential help, Did you use standard apt upgrade full-upgrade to update or the application
nala as a frontend ?. I have seen you are involved with the project with regard to translation.Sim, eu sou um tradutor voluntário deste projeto e de outros, mas eu não sei se estão utilizando ou não as minhas traduções, já que eu não utilizo este programa.
A instância do antiX 21 full de 64 bits em questão, está instalada em uma partição do disco rígido e eu utilizo apenas as traduções disponíveis no antiX e nas atualizações do antiX, além da tradução do Conky e um navegador de internet. Esta instância, eu utilizo para servir de exemplo para ensinar outros Brasileiros nos grupos de Telegram e WhatsApp de como utilizar o antiX. No dia de ontem, eu apliquei os comandos sudo apt update e depois sudo apt upgrade, capturei algumas fotos com o telefone para postar nestes grupos de Telegram e WhatsApp de como responder as perguntas que eram feitas, se responder “i” ou “y” e pressionar a tecla Enter será instalado a nova versão ou a versão mais recente. Normalmente, quando respondemos “i” ou “y” vem as novas traduções dos menus (dos arquivos .desktop). Por anto, se respondemos “n” ou pressionamos a tecla Enter, não será instalado a nova versão e as traduções dos menus não serão rercebidas. Esta é a minha experiência do que ocorreu nas atualizações do antiX.Apt, during the upgrade asked me if I wanted to keep the current version of the menus or the new one and the default answer (that is selected if you just press enter) is “n”- keep the current version, do not update the config files.
PPC, você compreendeu que se você responde “n” ou se pressiona a tecla Enter, não será instalado a nova versão e as traduções dos menus não serão recebidas?
Durante as atualizações do antiX, frequentemente os menus ficam em idioma Inglês, mas no final do processo os menus são escritos novamente (sudo desktop-menu –write-out-global) e os menus voltavam a ser exibidos em idioma pt-BR, mas na atualização de ontem isso não aconteceu.
the appropriate /var/log/apt/history.log /var/log/apt/term.log may provide some insight.
menu changes.Assim que for possível, eu irei postar aqui os arquivos “history.log” e “term.log”.
January 11, 2023 at 2:43 pm #97171MemberPPC
::Marcelo, tente ver o arquivo que indiquei e confirme se está em pt-br. Se estiver, pode copiar o seu conteudo para o seu arquivo “menu”.
A resposta padrão, ao instalar novas definições dos Gerenciadores de Janelas, é “não” alterar nenhum arquivo de configuração, prepositadamente para não acontecerem mudanças imprevistas. As únicas alterações que, a existirem, não são implementadas, à partida, são as traduções do primeiro nível dos menus. Tudo o resto é automaticamente gerado a partir dos arquivos .desktop, que, ao serem alterados, resultam em alterações do que surge no menu.
Uso o antiX há muitos mais anos do que você e nunca, desde o tempo do antiX 16, tive quaisquer problemas com perder a localização do primeiro nível dos menus, e sempre consegui ver as alterações provocadas por uma melhor localização dos arquivos .desktop- como sempre costumo dizer, Marcelo, simplifique! Se a resposta padrão é “não”, não a altere! Isso é assim por algum motivo!***
Marcelo, try to read the contents of the file I indicated and confirm that it is in pt-br. If it is, you can copy its contents into your “menu” file.
The default response, when installing new Window Manager settings, is “do not change any configuration files”, so that no unforeseen changes happen. The only changes that, if any, are not implemented are in the first layer of the menu. Everything else is automatically generated from the .desktop files, which, when altered, result in changes to what appears in the menu.
I have been using antiX for many more years than you and never, since the antiX 16 days, had any problems related to losing the localization of the first level of the menus, and have always been able to see the changes caused by better localization of the .desktop files-as I always say, Marcelo, make it simple! If the default answer is “no”, don’t change that! It’s that way for a reason!P.
January 11, 2023 at 3:33 pm #97180MemberRobin
::Marcelo, make it simple! If the default answer is “no”, don’t change that! It’s that way for a reason!
Well, generally I would suggest to always compare the versions instead, before deciding for dismission of new versions. Apt gives opportunity of such a comparison before deciding. The new version of a configuration file might easily contain some important lines expected to be present by some program. Only when checking the differences between old and new you’ll prevent unforseen accidents like the one addressed in this thread.
Windows is like a submarine. Open a window and serious problems will start.
January 12, 2023 at 12:28 am #97221Member
marcelocripe
::the appropriate /var/log/apt/history.log /var/log/apt/term.log may provide some insight.
menu changes.and
You can check the template (and copy and paste the relevant lines to your menu file(s)) here: /etc/skel/.icewm/menu (open that file in a text editor, like geany, and check if everything is in pt-br- it should be in your system’s default language).
Files of menus and toolbars (menu, menu-numix-bevel, menu-numix-square, menu-papirus, toolbar, toolbar-numix-bevel, toolbar-numix-square and toolbar-papirus) of all areas /etc/skel/.icewm /etc/skel/.jwm and /etc/skel/.fluxbox folders are in English language. The “.dpkg-old” files have texts in Brazilian Portuguese.
I think this proves that the first level menu texts and toolbar texts have all been changed.The “history.log” and “term.log” files are in the compressed “.zip” file.
Packages have “-antix” in their name, so I understand they are reliable. Therefore, I think it makes no sense for me not to accept receiving the updates that the anticapitalista or another antiX administrator has made available.
Anticapitalista, what is the correct action we should take when the situation below is offered in the update:
Configuration file ‘/etc/skel/.fluxbox/menu’
==> Modified (either by you or a script) since installation.
==> The package distributor has released an updated version.
What do you want to do? Your options are:
Y or I : install the maintainer package version
N or O : keep the currently installed version
D : show differences between versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** menu (Y/I/N/O/D/Z) [default=N] ?– – – – –
the appropriate /var/log/apt/history.log /var/log/apt/term.log may provide some insight.
menu changes.e
You can check the template (and copy and paste the relevant lines to your menu file(s)) here: /etc/skel/.icewm/menu (open that file in a text editor, like geany, and check if everything is in pt-br- it should be in your system’s default language).
Os arquivos dos menus e as barras de ferramentas (menu, menu-numix-bevel, menu-numix-square, menu-papirus, toolbar, toolbar-numix-bevel, toolbar-numix-square e toolbar-papirus) de todas as áreas de trabalho das pastas /etc/skel/.icewm /etc/skel/.jwm e /etc/skel/.fluxbox estão em idioma Inglês. Os arquivos “.dpkg-old” possuem os textos em idioma Português do Brasil.
Eu acho que isso comprova que os textos dos menus do primeiro nível e os textos das barras de ferramentas foram todos alterados.Os arquivos “history.log” e “term.log” estão no arquivo compactado “.zip”.
Os pacotes possuem “-antix” em seu nome, então eu compreendo que são confiáveis. Por isso, eu acho que não faz sentido eu não aceitar receber as atualizações que o anticapitalista ou um outro administrador do antiX disponibilizou.
Anticapitalista, qual é a ação correta que devemos tomar quando é oferecido na atualização a situação abaixo:
Ficheiro de configuração ‘/etc/skel/.fluxbox/menu’
==> Modificado (por si ou por um script) desde a instalação.
==> O distribuidor do pacote lançou uma versão atualizada.
O que deseja fazer? As suas opções são:
Y ou I : instalar a versão do pacote do maintainer
N ou O : manter a versão actualmente instalada
D : mostrar diferenças entre as versões
Z : iniciar uma shell para examinar a situação
A ação padrão é manter sua versão atual.
*** menu (Y/I/N/O/D/Z) [padrão=N] ?Attachments:
January 12, 2023 at 2:54 am #97223MemberRobin
::Best choice is D always:
D : show differences between versions
After this comparison step you’ll know whether to keep or dismiss the new version, or whether you need to transfer some lines from the new version to the old version in case you decide you want to keep the old one.Windows is like a submarine. Open a window and serious problems will start.
January 12, 2023 at 8:06 am #97231Forum Admin
anticapitalista
::The updated menu files are in /etc/skel and will be in English if you choose Y.
The ones you use in your menus are NOT touched by an upgrade at all so they should remain localised.Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
January 12, 2023 at 8:16 am #97233MemberXunzi_23
::Hi Robin, with all due respect,
please remember for most users taking default is safest way to go.
Only a few advanced users will have the neccesary in depth knowledge to make
an informed choice.
I do not count myself among them and have almost always taken default config
choice on production level, in daily usage setups for last years without ill
effect or outage.On a fresh install, before customization I incorporate the new versions.
January 12, 2023 at 8:58 am #97240MemberPPC
::So, from what anticapitalista says, no matter what option the user selects when updating, the current “menu” config files for each Window Manager should not be changed (since they are in the user’s home folder and those files are not touched during updates).
My advice, to always stick with the default option presented during updates is valid only to ensure that the templates for the “menu” config files are kept in your selected language (if other than English).As far as I can tell, then, Marcelo’s problem is:
– he selects to replace the templates (used to generate the menu files from scratch) with the ones that are offered during the update process (that are in English) – which he should not do, because he only speaks Portuguese
– for some strange reason, during the update process, his “menu” files are zeroed out and replaced by the ones created from the new templates (that are in English), so the update process it self does not touch the menu config files that are in his home folder. The menu update routine that apt runs after performing updates (to ensure that the menu -the Categories part of the menu, I mean) can be responsible for that, assuming some how that his menu config files do not exist, and so, replacing them with the ones from the templates? Could this be a bug (that I never ever encountered, so I assume, if it exists, it’s triggered by accepting the changes to the templates)?Edit: Marcelo – anticapitalista did not directly reply to your question about which option you should select during updates, only explained which one you should not select if you do not want the templates of your config files to be in English, so I assume this means that my advice to always follow the default answer is valid (unless, like Robin and some other more advanced users, you have the know-how to analise the differences between the current version of the file and it’s updated version- I think I never ever tried to do that, in all this years, so sticking with the defaults has never harmed my systems in about 8 years or so). The dev team selects the defaults for a reason, right? So asking the dev which selection is best is a bit redundant- because I assume that a rational dev team would select the best defaults for the majority of the users…
P.
- This reply was modified 3 months, 3 weeks ago by PPC.
- This reply was modified 3 months, 3 weeks ago by PPC.
January 12, 2023 at 2:09 pm #97254Member
marcelocripe
::Was the information that I attached with the name “Menus_Apos_a_ Update_10-01-2023.zip” helpful in identifying what caused the problem?
The updated menu files are in /etc/skel and will be in English if you choose Y.
The ones you use in your menus are NOT touched by an upgrade at all so they should remain localised.Since I started with antiX 19.2, I always answered “i” or “y” to the question that comes up during updates, because I always believed that this was the correct answer. I’ve never found here on the antiX forum any kind of guidance in this regard. So I always did what I understood to be right – update everything. This was the first time that the first level menu lost the translation from the Brazilian Portuguese language and started to have the English language.
Robin’s explanations are extremely helpful, but as @Xunzi_23 wrote very well “Only a few advanced users will have the neccesary in depth knowledge to make an informed choice.”, I don’t see a reasonable reason for end users to choose something that can confuse them.
I know how to manually correct the first level menu that lost its translation in Brazilian Portuguese and became English, but other people don’t know how to do that. I hope that the Brazilian antiX community is not having this problem in the first level main menus and in the toolbar that lose the Brazilian Portuguese language translation.
If the most suitable for end users or beginners is to answer “n” or “o”, then I need it confirmed here in this topic so there is no misunderstanding.
I need to have the correct and clear information here in this thread so I can guide other Brazilians in the Telegram and WhatsApp groups on what to answer in the questions that arise during the antiX updates.
Grateful.
– – – – –
As informações que eu anexei com o nome “Menus_Apos_a_Atualizacao_10-01-2023.zip” foram úteis para identificar o que causou o problema?
The updated menu files are in /etc/skel and will be in English if you choose Y.
The ones you use in your menus are NOT touched by an upgrade at all so they should remain localised.Desde que eu comecei com o antiX 19.2, eu sempre respondi “i” ou “y” para a pergunta que surge durante as atualizações, porque eu sempre acreditei que esta fosse a resposta correta. Eu nunca encontrei aqui no fórum do antiX qualquer tipo de orientação a este respeito. Então, eu sempre fiz o que eu compreendia ser correto – atualizar tudo. Esta foi a primeira vez que o menu do primeiro nível perdeu a tradução do idioma Português do Brasil e passou a ficar com o idioma Inglês.
As explicações do Robin são extremamente úteis, mas assim como o @Xunzi_23 escreveu muito bem “Only a few advanced users will have the neccesary in depth knowledge to make an informed choice.”, eu não vejo um motivo cabível para os usuários finais escolherem algo que pode confundí-los.
Eu sei corrigir manualmente o menu do primeiro nível que perdeu a tradução em idioma Português do Brasil e passou a ficar em idioma Inglês, mas as outras pessoas não sabem fazer isso. Eu espero que a comunidade Brasileira do antiX não esteja tendo este problema nos menus principais de primeiro nível e na barra de ferramentas que perderem a tradução do idioma Português do Brasil.
Se o mais adequado para os usuários finais ou para usuários iniciantes é responder “n” ou “o”, então eu preciso que seja confirmado aqui neste tópico para não haver qualquer tipo de mal entendido.
Eu preciso ter a informação correta e clara aqui neste tópico para eu poder orientar os outros Brasileiros nos grupos de Telegram e WhatsApp sobre o que responder nas perguntas que surgem durante as atualizações do antiX.
Grato.
January 12, 2023 at 2:22 pm #97258Forum Admin
anticapitalista
::What I don’t understand is how you came to get your default menus in your username directory changed from pt_BR to English.
Nobody else has reported that the latest updates of desktop-defaults-icewm etc has changed their non-English menus.
My Greek menus remained in Greek after the upgrade.All localised menu files, zzzFM/rox desktop files can be found in /usr/share/antiX/localisation.
Copy pt_BR ones to the correct location in home (as user not root).Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
-
AuthorPosts
- You must be logged in to reply to this topic.


