Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Topic started by: Owdy on March 16, 2004, 09:29:23 AM

Title: Translation issue, quoestion to devs
Post by: Owdy on March 16, 2004, 09:29:23 AM
I have broplem with finnish translation.  Because default theme is changed, finnish language file wont fit as it is in YSE themes. My question is, should i translate only looking to new default theme and say to  non-default theme users that they have to modify lang files or themes?

Trouble parts are that boardindex header in YabbSE theme "Topics | Posts" and in Stats "Total Topics, Total Posts, Total Members".

Finnish bend very differend than english. We dont have "at" "by" etc. We ad letters to end of words. Lets say english word "house". Its "talo" in finnish. And when you said "in the house" we said "talossa". When you said "to the house", we said "taloon" etc etc. That is the reason why it wont fit in both themes ;)

Title: Re: Translation issue, quoestion to devs
Post by: [Unknown] on March 16, 2004, 11:16:01 AM
If wording has to be changed in the language files to make things work, then it should be changed.  Is it possible to omit the word "total" in this case?

-[Unknown]
Title: Re: Translation issue, quoestion to devs
Post by: Owdy on March 16, 2004, 11:44:19 AM
Quote from: [Unknown] on March 16, 2004, 11:16:01 AM
If wording has to be changed in the language files to make things work, then it should be changed.  Is it possible to omit the word "total" in this case?

-[Unknown]
It wont fix it.  Biggest issue is that header in YabbSE theme "Topics | Posts". In YSE theme it should say "Aiheita | Viestejä" and in default theme it should say "10 viestiä 3 aiheessa". It wont fit :)

Second is those stats. They need differend strings in both themes. And this "0 Members and 0 Guests are viewing this board." feature makes it eaven harder :P
Title: Re: Translation issue, quoestion to devs
Post by: bostasp on March 16, 2004, 11:53:10 AM
I suppose a few extra strings could be added, for either theme? Although, I don't know if thats very practical
Title: Re: Translation issue, quoestion to devs
Post by: Owdy on March 16, 2004, 11:56:06 AM
I think we should dump the YSE themes :P
Title: Re: Translation issue, quoestion to devs
Post by: [Unknown] on March 16, 2004, 11:57:53 AM
Can something like viest(iä) be done?

That'd look ugly I guess....

There CAN be separate language files per theme.  You just don't *have* to have them.

-[Unknown]
Title: Re: Translation issue, quoestion to devs
Post by: Owdy on March 16, 2004, 12:02:48 PM
Quote from: [Unknown] on March 16, 2004, 11:57:53 AM
Can something like viest(iä) be done?

That'd look ugly I guess....
Yes, and it wont fix that eather.


Quote
There CAN be separate language files per theme.  You just don't *have* to have them.
-[Unknown]
Well, that would solve it but how practical and confusing that is to users?
Title: Re: Translation issue, quoestion to devs
Post by: [Unknown] on March 16, 2004, 12:06:33 PM
You just put different files... like so:

Themes/default/languages/index.english.php <-- one for Default theme.
Themes/classic/languages/index.english.php <-- one for Classic theme.

-[Unknown]
Title: Re: Translation issue, quoestion to devs
Post by: Owdy on March 16, 2004, 12:08:24 PM
Quote from: [Unknown] on March 16, 2004, 12:06:33 PM
You just put different files... like so:

Themes/default/languages/index.english.php <-- one for Default theme.
Themes/classic/languages/index.english.php <-- one for Classic theme.

-[Unknown]
Ok, i make differend files for them then  :)
Title: Re: Translation issue, quoestion to devs
Post by: Owdy on March 16, 2004, 12:13:47 PM
Do you need to put all lang files in classic folder or just index.finnish.php file?
Title: Re: Translation issue, quoestion to devs
Post by: bostasp on March 16, 2004, 12:16:37 PM
Just index.finnish.php file needs to go into the classic folder (I presume). Languages, like themes, carry from the default if they aren't found in the theme's directory.
Title: Re: Translation issue, quoestion to devs
Post by: [Unknown] on March 16, 2004, 12:18:54 PM
Yep.  This is one of those things Nevermind's "almost as good as SMF's" template system did not include :P.

-[Unknown]
Title: Re: Translation issue, quoestion to devs
Post by: Owdy on March 16, 2004, 12:19:03 PM
Sweet :)

/me goes and starts to modify those files
Title: Re: Translation issue, quoestion to devs
Post by: Owdy on March 16, 2004, 12:44:52 PM
Maybe i should write some kind of readme.txt in that package?
Title: Re: Translation issue, quoestion to devs
Post by: bostasp on March 16, 2004, 12:51:01 PM
If you like, I'm sure it'll help Finnish users.
Title: Re: Translation issue, quoestion to devs
Post by: Owdy on March 16, 2004, 01:09:13 PM
Quote from: bostasp on March 16, 2004, 12:51:01 PM
If you like, I'm sure it'll help Finnish users.
Done and added :) http://www.simplemachines.org/community/index.php?topic=7193.0