Tuesday Feb 24, 2009

Using Mercurial Queues Extension

Trying to describe some basic and some interesting facts about using Mercurial Patch Queues.

Mq schema

[Read More]

Wednesday Feb 18, 2009

How the setlocale() works in OpenSolaris

Programs should respect locale specific way how to format date, time, numbers, how to sort strings, etc. People in different regions use different ways how to write such things and it is very confusing for them if you for example want write a date and write day, month and year in wrong order. Near all programs use for this functions from libc like strftime(3C), strcoll(3C), ...

The article is short overview how it works.

[Read More]

Thursday May 15, 2008

Translating your Roller blog (2)

This is a continuation of my previous entry about roller blogs and their internationalization - Translating your Roller blog. I'll go into more detail about the select box code for switching languages and the associated javascript.language select box (1)

The select box I've shown in my last article displays the text "Select language:" by default. We may prefer it to display the currently selected language.

[Read More]

Friday May 02, 2008

Translating your Roller blog

Recently I was dealing with a solution for translating one of the blogs on blogs.sun.com. This article covers some of the ways to enable multiple languages on roller blogs and can be used as a guide for setting up a translated blog. The solution we're aiming for will be similar to Jonathan's blog.

Blogs at blogs.sun.com are powered by Apache Roller. There are multiple ways how to deal with translated content, but first we need to enable internationalization support.

Step 1. - Adjusting the blog preferences

  • log in to your roller account and select the right blog
  • navigate to Preferences
  • locate the Internationalization Settings
  • adjust the settings as shown on the following image
  •  Internationalization settings

 
[Read More]

Tuesday Dec 11, 2007

How to Trace the Building Process with Dtrace

Sometimes I modify one source file and them compile whole project. I wanted to know which targets are affected by the change. The answer is not easy in projects with many targets. Simplest way is to use build log/less/grep and trace building process manually.

Last week I have found amazing tool - dtrace. With the tool I can find the dependencies by a simple script.

[Read More]

Monday Nov 05, 2007

Why do not write Makefiles in this way

During my work I sometimes see strange code which works, but there are good reasons to not write it in this way. I would like to share with you things that I see and ways how to fix them.

As example I choose one Makefile from CWS project I am working on

[Read More]
About

Solaris l10n & i18n, locales, keyboards, fonts and related topics.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today