Localization: Get gettext integrated
Registered by
Oliver Sauder
Localization. Have our app capable of being localized in various languages. Currently, there are only two strings we need to localize: clear and quit. We should get the framework in place so it will not be difficult to add later.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Essential
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Diodon Team
- Definition:
- Approved
- Series goal:
- Accepted for trunk
- Implementation:
- Implemented
- Milestone target:
- 0.1.0
- Started by
- Oliver Sauder
- Completed by
- Oliver Sauder
Whiteboard
The GLib.Object has a gettext method _("") available which we can simply use for any language depended string.
So what we have to figure out is, how we can get the generation of the gettext file integrated into waf. It might be helpful to take a look at the val(a)ide source code, which uses waf, vala and gettext as well.
(?)