Created attachment 193811 [details]
LC_TIME file to support the creation of a ga_IE.UTF-8 locale
Hello. I'm new to the FreeBSD community. I've read the rules but please be understanding if I accidentally break any :)
I needed a ga_IE.UTF-8 (Irish language_Irish conventions) locale for use in the vt console but, as far as I can tell, FreeBSD doesn't have one so I made my own, based on the en_IE.UTF-8 locale. I don't know if it's correctly-formed but it seems to work in testing so I offer it here as a patch.
I only modified the LC_TIME file. All the others were either symlinks or didn't need changing (with one exception, below) and could be copied across from en_IE.UTF-8. So the modified LC_TIME, with certain strings translated as appropriate, is all I've uploaded here.
There is one thing that probably still needs work. In en_IE.UTF-8, LC_MESSAGES is a link to a file of the same name in en_US.UTF-8. This contains a couple of 'yes' / 'no' strings that are fine for English (Ireland) but not for Irish (Ireland). I thought about copying LC_MESSAGES from en_US.UTF-8 to an actual file in ga_IE.UTF-8 and then adding translations but (1) I couldn't work out the syntax and (2) Irish doesn't have words for 'yes' and 'no'; you use positive and negative forms of whatever verb to articulate equivalent meanings so it can be tricky finding one-size-fits-all strings in cases like this. I'd need to have context.
To which file does this patch apply?
> To which file does this patch apply?
The attachment is my localised LC_TIME file, located in a custom ga_IE.UTF‑8 locale directory which I created myself. Specifically, the patch doesn’t apply to an existing FreeBSD file but to a proposed new one.
To create a ga_IE.UTF-8 locale, I copied the existing en_IE.UTF‑8 directory from:
and then localised the appropriate strings in the file:
The patch is this localised LC_TIME file.
The ‘probably still needs work’ aspect applies to the file:
which I haven’t modified in any way, for the reasons given.
As far as I can tell, nothing else in the
directory would need to be changed for it to provide a valid ga_IE.UTF‑8 locale.
A commit references this bug:
Date: Mon Nov 26 19:39:52 UTC 2018
New revision: 340992
Add ga_IE.UTF-8 locale.
Submitted by: Micil <email@example.com> (LC_TIME)
Reviewed by: bapt
Approved by: kib (mentor, implicit)
MFC after: 3 days
Differential revision: https://reviews.freebsd.org/D17997