We decided to create a code translation program because we noticed how language barriers can be a problem, especially in the field of programming. We saw this firsthand during the UAB Hack event when someone in the audience asked the presenter to speak in another language. This made us realize the challenges that language barriers can present, and we wanted to address this issue while also exploring new opportunities. Programmers may come across code in different languages, which can slow down the translation and understanding process. We wanted to make this process more convenient by creating a tool to streamline code translation. Our goal was to encourage understanding and coding without the fear of language barriers. Our innovative program, Translator UAB the Hack, empowers users to input a code and select the desired language for seamless translation. It efficiently translates comments, documentation, and variables, enhancing the user experience. This streamlined process is implemented in pip format, ensuring a structured and user-friendly experience. This process is complemented by ai provided by libraries or in order to imporve the code efficiency. For example, the detection of the language is based on ai. At the same time, some lines of code were significantly reduced by ai which makes the code more readable. This challenge presented several difficulties for us. Initially, we had to figure out how to make the most of the resources available to us. As first-year students looking to expand our skills, we decided to take the risk of programming in Python, despite having minimal knowledge of it, and delving into a new language. Additionally, we researched different libraries and, with the help of AI, selected the ones we considered the best and put them to the test. The coding aspect also proved to be extremely challenging as we worked to pinpoint which lines we wanted to translate. Furthermore, we wanted to take a bigger risk by creating a pip for the first time, which was complicated due to the vast amount of information available on the internet, but little of it proved to be useful. We are finally proud of the project, especially that each member has been intensely involved in the code and the research of information to solve logical programming problems and also the pip. We have several aspects we would like to implement. For instance, we want the user to specify which aspects they want to be translated (such as only comments or only variables). Additionally, we are considering developing a front end that could potentially lead to a translation website, or expanding the scope to cover multiple languages instead of just one. Also try to improve some small errors of the translation and the pip.

Built With

Share this project:

Updates