Simple Machines Community Forum

SMF Support => Language Specific Support => Topic started by: chipset66 on November 25, 2006, 08:19:30 AM

Title: Differently descriptions for Welcome
Post by: chipset66 on November 25, 2006, 08:19:30 AM
Hi,
in bulgarian language is different description on the word Welcome, for wimin is one, for men is other. How I can change code on Welcome screen (and everywhere where is need) linked to sex on the users when they are registered?

Title: Re: Differently descriptions for Welcome
Post by: Dannii on November 30, 2006, 12:16:51 AM
Unfortunately there is no easy way to change that (although I would like to change that in the future..) If you only need to change the one word 'Welcome' that can be done, but if there are many words that need to be changed that will be hard. Can you use a gender-less word instead? It doesn't need to be an exact translation of 'Welcome'.
Title: Re: Differently descriptions for Welcome
Post by: chipset66 on November 30, 2006, 03:43:33 AM
Thank You for the answer.
Yes, I need to change "Welcome" for everibody who reserve their sex.
May be work some like that:
<select name="gender" size="1">
<option value="0"></option>
<option value="1"', ($context['member']['gender']['name'] == 'm' ? ' selected="selected"' : ''), '>', $txt[238], '</option>
<option value="2"', ($context['member']['gender']['name'] == 'f' ? ' selected="selected"' : ''), '>', $txt[239], '</option>

with correct settings on correct place... :-\
Title: Re: Differently descriptions for Welcome
Post by: Dannii on November 30, 2006, 03:57:14 AM
Which version of SMF do you use?
Title: Re: Differently descriptions for Welcome
Post by: chipset66 on November 30, 2006, 06:42:00 AM
1.1RC3

p.s. We have word like "Hi", and I use it, but "Welcome" is better ;)
This is no general problem, I just wish it.
Title: Re: Differently descriptions for Welcome
Post by: Dannii on November 30, 2006, 07:54:54 PM
I'm going away sorry. If you haven't fixed it I'll help again in a week's time.