Gender in the language files

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
User avatar
Francesc Lynx
Registered User
Posts: 19
Joined: Fri Apr 04, 2003 11:38 am
Location: Everwhere or anywhich

Gender in the language files

Post by Francesc Lynx »

I was wondering... (it's not a feature request, not even a covert one :P if the developers see this as something useful for the users, then it's cool, if not, then it's mod territory or, well, just words I wrote :P)

Would it be very difficult to make the language files store male, female and neutral genders of words, for use where it would be applicable? That way, if you set yourself as "female" in your profile, the forum would then refer to you as such when appropiate. That way, in spanish, a man would be a "Moderador" and a woman would be a "Moderadora", for example.

It would be mainly used by other languages where there's a difference, of course, but it would make a nice touch for the ones which have those differentiations. It sure beats using annoying ultra-politically correct trends like "Moderador/a" (here in Spain), where things become very tiring to read. Lots of "o/a" or even "@" ("Usuari@s") utterly destroy the flow of communication with useless duplication.

Now, phpBB already does something similar with plurals (well, similar... it's basically the same thing, but with another variation of a given word), so maybe that's something of a start for a possible mod.

Then, if I wanted to create a mod, do you think it would be difficult? (well, I wouldn't create it, I don't know much php, I would probably grab a friend and make him do it... and save Humanity!) Did the phpBB 3 template engine have the capability to handle "IF" statements? Would that help?

What do you think? Something like, I don't know, putting "¿Estás {seguro|segura} de querer borrar el mensaje?" and then, just like when phpBB replaces those % thingies with links and such, it puts the appropiate word for the gender the users set in their profiles :o

Of course, no gender set would come up with a neutral gender.
"Since the dawn of time... [insert amazing event]"

User avatar
Highway of Life
Registered User
Posts: 1399
Joined: Tue Feb 08, 2005 10:18 pm
Location: I'd love to change the World, but they won't give me the Source Code
Contact:

Re: Gender in the language files

Post by Highway of Life »

It would be a lot easier if you just used the custom profile fields option, then you could just setup the gender there.
You could even do it in several languages if you wish it.
Image

User avatar
Francesc Lynx
Registered User
Posts: 19
Joined: Fri Apr 04, 2003 11:38 am
Location: Everwhere or anywhich

Re: Gender in the language files

Post by Francesc Lynx »

Well, the idea was to have the forum texts referring to the user in both genders. For example:

"Are you sure you want to delete your post?"

... would be, depending on the user gender:

"¿Estás {seguro|segura} de que quieres borrar tu mensaje?"

Something like that.
"Since the dawn of time... [insert amazing event]"

DragonlordP
Registered User
Posts: 180
Joined: Sun Nov 16, 2003 10:51 am

Re: Gender in the language files

Post by DragonlordP »

Gooood good idea. Me likey. 3.2?
you live it or lie it

http://www.electricrequiem.com" target="_blank
greek metal forums and more

User avatar
Francesc Lynx
Registered User
Posts: 19
Joined: Fri Apr 04, 2003 11:38 am
Location: Everwhere or anywhich

Re: Gender in the language files

Post by Francesc Lynx »

3.2? Well, I hope I can figure out something before 3.2. I'd like to mod it (or make a friend mod it, of course!) before that. It's not critical either, just another layer of "neat" :D

But if this doesn't go ahead in mod form, maybe I'll suggest it on the 3.2 feature suggestion tracker when it (if it) opens :o
"Since the dawn of time... [insert amazing event]"

Uchiha Nick
Registered User
Posts: 397
Joined: Tue Jul 20, 2004 6:21 am
Location: Rotterdam, The Netherlands
Contact:

Re: Gender in the language files

Post by Uchiha Nick »

what about a example in english? since i cant follow where you try to go. well, a little then. but first a normal english example followed by a spanish

hope you get my drift
Image

asmith3006
Registered User
Posts: 136
Joined: Mon Feb 07, 2005 5:09 pm

Re: Gender in the language files

Post by asmith3006 »

Off the top of my head I can't think of an English example relevant to phpBB

It's the same as the difference between Waiter and Waitress. They mean the same job, but one is masculine and the other feminine.

In some languages (e.g. Spanish) they have two different words for Moderator too, one for women one for men.

Moderator is just an example, it applies to lots of things.

Make sense?

User avatar
Francesc Lynx
Registered User
Posts: 19
Joined: Fri Apr 04, 2003 11:38 am
Location: Everwhere or anywhich

Re: Gender in the language files

Post by Francesc Lynx »

Let's see...

"Are you sure... ?" is gender-independent in english, but in spanish, the verb changes slightly if it's referring to a man or a woman: in "¿Estás seguro... ?" the one being asked would be male and in "¿Estás segura... ?" she would be female. Other things like "author" would be "autor / autora", "moderator" "administrator" "user" -> "moderador / moderadora" "administrador / administradora" "usuario / usuaria" and so on.

So, I would be looking for a way to make the forum engine choose the appropiate word depending on the gender the users have set in their profile. The words that could change would be between whatever symbol would be appropiate in the language files (I put an example a couple of posts before), and the forum would choose the first for male users, the second for female users, and a possible third for neutrals (no option set in the profile), for example.

In english, it could be used for "his / her" occurances. I think phpBB uses always "this user's" or a similar expression in english, anyway, but that workaround in spanish also produces a "gender-sensitive" word: "usuario / usuaria" :P

I know it's kind of... complicated and tricky. But it can be a fun thing to do :lol:

P.S.: Woah, I hadn't seen the "new messages since you started posting" before. Nifty! :D

P.S.2: And I've always wanted to do that with ranks. I got sick of grinding my brains looking for a gender-independant word :| (yeah, I'm some kind of perfectionist)
"Since the dawn of time... [insert amazing event]"

SamG
Registered User
Posts: 1241
Joined: Fri Aug 31, 2001 6:35 pm

Re: Gender in the language files

Post by SamG »

This sounds like a good thing to submit to the suggestion tracker when it reopens. From the way you've described it, it seems like it'd be a natural (and cool) extension to phpBB's localization features.
"I hate trolls!" - Willow Ufgood

APTX
Registered User
Posts: 680
Joined: Thu Apr 24, 2003 12:07 pm

Re: Gender in the language files

Post by APTX »

viewtopic.php?f=4&t=17036&p=106305&hilit=gender#p106305
I thought I suggested that... but now when I re-read that I don't think if the replies were to my suggestion or to the thread starters suggestion.
Don't give me my freedom out of pity!

Post Reply