Giter VIP home page Giter VIP logo

Comments (7)

gornjas avatar gornjas commented on June 20, 2024

Hi Jose,

sounds like a significant amount of valuable work you did. Having GUI localization could be a huge win for IMUNES, especially for high-school / sophomore audiences, which appear to be quite terrified by foreign languages these days.

We'd be interested to see how did you implant the changes in the code, perhaps you have a branch to share? I've never dealt with any language localizations myself, so I'm prepared to accept any approach which is reasonably generalized in a way that doesn't make the existing code too hard to read / burdened with too many language-specific "if" cases or similar...

from imunes.

jromero17 avatar jromero17 commented on June 20, 2024

Greetings Marko.

Let me clean up some things and I'll mount all the code for you. Add some more options, related to raising servers in the IMUNES nodes, things that I have implemented like:

Web server (With apache24 -httpd)
DNS server (In the /usr/local/etc namedb directory)
DHCP server (In the /usr/local/etc directory)

Services are configured and then run as done on a real machine without using a custom script.

I use the msgcat library

And to translate a text or phrase just change:

This
.menubar add cascade -label File -underline 0 -menu .menubar.file

For this:

.menubar add cascade -label [mc "File"] -underline 0 -menu .menubar.file

Also change the icons a bit more like Cisco's.

In the next message I will send you which files were modified. The original code only suffers a minimal impact as I showed you above.

I will send you an image of an OpenVPN Network to Network topology developed in IMUNES.

Captura de pantalla_2021-04-01_19-09-51
Captura de pantalla_2021-04-01_19-10-34
Captura de pantalla_2021-04-01_19-18-57
Captura de pantalla_2021-04-01_19-25-49

from imunes.

jromero17 avatar jromero17 commented on June 20, 2024

Hola Marko

Sin más te indico los archivos levemente modificados:

Archivo Principal:
cd /usr/local/lib/imunes/

gui/canvas.tcl
gui/drawing.tcl
gui/initgui.tcl (principal) Botón Menú idioma no funciona. (Se las dejo a ustedes)
gui/mouse.tcl (Agregadas otras opciones) Apache24, DNS bind 916, DHCP, Terminal Sakura

nodes/click_l2.tcl
nodes/click_l3.tcl
nodes/filter.tcl
nodes/genericrouter.tcl
nodes/host.tcl
nodes/hub.tcl
nodes/ipfirewall.tcl
nodes/lanswitch.tcl
nodes/nat64.tcl
nodes/packgen.tcl
nodes/rj45.tcl
stpswitch.tcl

runtime/eventsched.tcl

Las opciones de menú siguientes no fueron traducidas porque aparecía un error porque no se esperaba esa palabra traducida si no la original, ejemplo "Execute": Para corregirlo se necesita editar los archivos drawing.tcl, exec.tcl, initgui.tcl y algún otro que no vi.

Opciones de menú no traducidas

-- Undo
-- Redo
-- Auto rearrange all
-- Auto rearrange selected
-- Routing protocol defaults
-- Execute
-- Terminate (No presenta problemas si se traduce)
-- Restart
-- Start scheduling (archivo relacionado eventsched.tcl)
-- Stop scheduling

Luego te envío la rama. Estoy trabajando en ello.

O indícame como te hago llegar la información aquí en el repositorio de ustedes. Recientemente me estoy metiendo con github y estoy aprendiendo a montar cosas

from imunes.

jromero17 avatar jromero17 commented on June 20, 2024

Saludos marko, viendo un poco como trabaja github, es mi primera experiencia con github. Observe que puedo crear una rama emparejada con el imunes maestro. Así que puedo modificar todos los archivos mencionados directamente en esa rama para que ustedes puedan tener de mano todas las modificaciones sobre su código original.

Estamos en contacto

from imunes.

jromero17 avatar jromero17 commented on June 20, 2024

Hola marko no puedo crear un directorio dentro de imunes/gui/

Por favor puedes crear ese directorio? Se llama msgs

para tener esta ruta: imunes/gui/msgs

Por favor avisame si esta listo para subir los archivos de traducción

from imunes.

jromero17 avatar jromero17 commented on June 20, 2024

Saludos marko finalmente pude crear el directorio msgs:

Esta es la rama, esta lista para probar.

Espero no haya errores ya que edite directamente desde github, no tengo programas especializados para clonar y alimentar repositorios github.

https://github.com/jromero17/imunes

from imunes.

jromero17 avatar jromero17 commented on June 20, 2024

Saludos Marko, queria preguntar ¿Que ocurrió con el aporte de traduccion de IMUNES, ustedes han aceptado la actualización?

Me pongo a tus ordenes para actualizar la Rama origina de IMUNES si estan muy ocupados.

Por favor, avisame cualquier cosa.

Greetings Marko, I wanted to ask what happened to the translation contribution from IMUNES, have you accepted the update?

I am at your service to update the original Branch of IMUNES if they are very busy.

Please let me know anything.

from imunes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.