Web
Javascript strings translation with gettext
In a previous post I mentioned a few ways of dealing with i18n of strings in ASP.NET pages with gettext. Now it’s time for javascript code. Although javascript code in ASP.NET pages can be internationalized using the <%= %> syntax, pure js files are not processed, and therefore a different mechanism for dealing with javascript [...]
Gettext i18n strings in ASP.NET controls
In the last post I blogged about using gettext to internationalize strings in C#. However, using the Messages.T("Hello world") syntax in ASP.NET can be a little cumbersome. Luckily, ASP.NET controls can work as a solution for this issue. Adding a simple control which we will name just “t” (and place it in namespace “t” as [...]
Using GNU Gettext for i18n in C# and ASP.NET
We are in the process of dealing with the internationalization and localization of one of our open source web applications, which is fully developed using C# and ASP.NET MVC. Although ASP.NET already provides easy support for i18n via the usage of resx resource files, these are not very user friendly for translators. A resx file [...]
Level selector bar jQuery plugin
$(document).ready(function() {
$('#options').levelSelectorBar({separatorText: ' > '});
});
I’ve started digging deeper into jQuery in the last weeks, and this plugin is the first result of it. It is a simple plugin that converts an HTML select into a bar with all the successive options, allows clicking on any of them to select it, and slides a background to [...]
Neyun Beta is Ready
After over a year of development, Neyun is finally out for public use. The site is currently in beta, and an invite (or beta request approved) is required to use it.
Neyun is a rich web application that we have been developing along with Ary, Martin and Juan. It handles many web 2.0 services, such [...]
Command pattern in Web Apps
The command pattern is a behavioural pattern that encapsulates a request made to a certain object inside a Command object. Each type of command knows how to Execute() itself, as well as its target instances.
In the example above, taken from the Gang of Four’s Design Patterns, a PasteCommand would be associated to the Paste [...]