Keep working on GNOMECAT

During last weeks I have been working on improving the program UI and the po file management. You can see the result in the following video:

I have improve PoFiles bindings including functions to file header and string origins management and fixing some errors. I have use the information from header files to improve opened files panel and to create a custom recent files widget.

Saving files almost works. We can save a file but there are some troubles with origins which I should fix. In addition I have modify a little the implementation of the Po File class in order to make it more efficient.

I’m starting to improve the profile panel and I have started separating the entries in two stackable panels for basic and advanced configuration. I added autocomplete for plural form and team email when we select a language but it only works in a couple of languages :S. If you can contribute to the code an easy and very useful way would be to fill this data for some languages. You can even do this from the GitHub interface.

You can try and contribute to the code using the GitHub repository. If you are interested on contributing to the application the most relevant part I should work on is figure out how to improve the program performance with big files (gnumeric could be a good example).

On the other hand I’m planning to attend this year GUADEC (I have already bought the flights). There it will be a I18N BoF which I’m afraid I wont be able to assist because I leave Strasbourg on 29th of July. However it would be really interesting to receive some feedback from the translators during that days.

I have to thanks GNOME Foundation for sponsoring the trip one year again 🙂

Welcome GnomeCAT

It has been a while since the last post I wrote about my work writing a new CAT tool. It’s true that I have remain about a month working on other things (related to my university classes) but some important things have happened since then.

Firstly two of the most important items of the new tool which are hints and checkers has been implemented. These two aspects have been implemented as interfaces that should been implemented as plugins. However, I have write DemoHintProvider and DemoChecker to show how these items are going to work.

I have also refactored the code related to select items and the code related to navigate through the document and searching strings. Now the Navigator class is the common parent of the class that allows to navigate through the document and the search classes. In addition now these two classes use a new API to select items in the program. This API is provided by the Application class and allow to select a file, a message and a string inside a message.

Then, I have change the name of the application to GnomeCAT as part of the request of the Gnome foundation that the application name should be “Gnome branded”.

Charla GUADEC-es
Photo by Valentín Barros

To end, last 12th of October, I have attend to the X GUADEC-es and there apart from meeting some old and new friends I have give a talk with Daniel Mustiles about the application. The previous photo is from that moment. You can find the slides I’ve use here (they are in Spanish :S) and the video that I’ve use to show the tool here.

Po files, projects, navigation and other stuff I have been doing

Last weeks I have being trying push up my project in order to make it useful. It means to accept real files and not ad-hoc DemoFiles. I have being trying to implemented bindings for the gettext-po library and I get something that works but that eats memory as a hungry monster :-(. I have being trying to figure out what was wrong but I have fail so I decided to continue with other features.

During this time I have implement drag and drop tabs and I have implemented navigators that allow the user move around the translated/untranslated/fuzzy messages. In addition I have created implemented dialogs for opening files and projects (directories) and I have modify the implementation of the advanced search dialog to use response codes.

Other thing I have being trying to do is to maintain the same coding style for every file. I have try to leave a blank space between function names and function parameter list, a white space after each comma among other things.

I’m trying to complete every detail before starting to implement plugin engine so I’m working hard implementing the remaining details. My plannings for next weeks are implementing preferences window with gsettings and view menu. I probably will rewrite some part of the search and navigation mechanism to make it simpler.

PS: I have been helping Sindhu to write some sections of a really nice guide for beginners. Check it out!

GSoC application status report

This last weeks I have been polishing some details of the application but I have not added any major feature.

I attend a really nice talk about building Gtk applications during GUADEC and I have been including some aspects that I learn there. I have create a class application and I have substitute Window by ApplicationWindow. In addition I didn’t know the SearchBar widget so I replace my ad-hoc widget by the “standard” one.

I have a really nice talk with Ignacio Casal (thank you man!) through IRC and he gives me really nice advises that I have been implementing. I have added autotools support to the project, I have implemented the HeaderBar and Notebook inside the window template and not as part of different templates and I have remove some comments that I wrote when I started the project and that make the code dirtier.

In addition I have removed the StatusBar and I have included a progressbar on the HeaderBar title that shows the name and status of the current file. That last idea comes from a conversation with yoseforb through IRC (Great idea!).

The next video show the current aspect of the the tool. Due to some unknown reason the button icons aren’t being shown since the last JHBuild update I have made :(.

You can follow the project status and you can try (and even review) the code using the GitHub repository.

Moreover I’m still waiting for your opinion about the program name. The only person that has give his opinion was Daniel so “GNOME Translation Tool” is winning at the moment.

ValaCAT application current status

During last weeks I have been working on the application interns and the user interface. I don’t publish anything last week because I was in a festival (Festival Internacional do Mundo Celta de Ortigueira) and I have no internet connection.

I have create a more Gnome-Shell like UI than the one I show you on the previous mockups and I think that it’s quite cool. I have also created modules to treat with languages, filters and more. You can view and critize the code on the GitHub Repository.

I have record a demo to show you the current status of the application. It’s recorded using gnome-shell tool and it has no audio but I try to highlight the most important parts of the application.

Please do not hesitate in comment anything about the application or the demo video. I need your feedback in order to be able to improve the program.

ValaCAT. Some design aspects (Part 2).

This is the second article I have write about some design aspects about ValaCAT application, the first one is here. I have started to write some code and you can see it in my GitHub repository.

These are some details I’m including into the new application. I’m really a newbie in most of this aspects so any kind of feedback is welcome.
Continúe lendo ValaCAT. Some design aspects (Part 2).

ValaCAT. Some design aspects

Continuing with my series of articles about my participation on Google Summer of Code this time I’ll talk a little about some design aspects of the new application so if you are interested you can criticizer me :D.

Firtly I wanna say that I have found a name for the new tool which I think is pretty cool and it sums up some aspects of the application: ValaCAT, where CAT stands for “Computer Assisted Translation” and Vala (obviously) is the name of the programming language.

I have been working on a design for this new application taking as reference the old Gtranslator design since the last week and here are some aspects that I would like to comment:

Continúe lendo ValaCAT. Some design aspects