News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SMF Translation FAQ

Started by bostasp, March 18, 2004, 12:10:58 PM

Previous topic - Next topic

andrea

I have some questions resp. language file entries for theme name, description etc.  Is the theme name not any longer in the theme_info.xml? If so then I am lost what is the current official entry location:

In earlier betas there was an entry field in the admin theme menu option where the theme desc was entered. There is also the theme_info.xml file and in addition I read somewhere about a settings.xxx.php language file which can be made.

For theme makers:
- where is the recommended location to enter the theme name?
- where for entering a theme description?
- is it sufficient to enter that information in english? / How must it be entered that it displayes also in other languages? / I suppose the english language file displays as always also in other languages if not overwritten by another lng file?

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



andrea

Quote from: bostasp on May 28, 2004, 09:21:51 PM
I'm also forcing myself to learn Hindi, so be warned ;)

Very good. Awaiting your Hindi button strings...  ;)

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



[Unknown]

Theme name is in the database - it does not come from the xml file.  Theme description is in Themes/themename/languages/Settings.LANGUAGE.php.

The xml file is only used for theme INSTALLATION.  It is not used during runtime.

-[Unknown]

andrea

Quote from: [Unknown] on May 29, 2004, 04:16:37 AM
  Theme description is in Themes/themename/languages/Settings.LANGUAGE.php.

Thx Uk. And is it right that Settings.xxx.php is auto replaced by Settings.english.php case not present for language "xxx"? I am asking because for foreign language buttons I have only collected buttons strings. With few exceptions I would not be able to translate theme descriptions myself. If the file is explicitely needed for each language I will copy the english file.

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



Owdy

#164
Quote from: andrea on May 29, 2004, 04:54:43 AM
And is it right that Settings.xxx.php is auto replaced by Settings.english.php case not present for language "xxx"?
Yes. Then description is just english, thats all. You dont have to put any settings.language.php there, then its just gives themes name and no description in theme preview. But if you want  description, it has to be there. In those languages what you want to show it. Just copy that engilsh one and translate. :)
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

[Unknown]

For reasons of proper internationalization, no... English is not assumed.

However, the default forum language (often English) is used over the user's language (might be German) - and the same is done for language files.  However, English is not special in this affect.

-[Unknown]

yossa

Polish translation ready and sent! \o/

Cerberus

How's going on with Russsian there?
Best Regards, Cerberus
YaBB Gold -> YaBB 1.1 -> YaBB SE (YaPP -> PfaBB) -> SMF
Pocket PC Russia

bostasp

#168
Well, I have this little thing... 
I forget who sent this in now... ah, yeah, it's from this thread

Haven't had anything from DTG or sensovision though

Owdy

Does anyone know all strings what are used in javascript popups? Because in those, you cant use entities.

Btw, i think this topic should be in here: http://www.simplemachines.org/community/index.php?board=12.0 :)
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

bostasp

Quote// All of the following block of strings should not use entities, instead use \" for " etc.

They usually have something similar to the above, above the blocks of strings where entities can't be used.

Owdy

Quote from: bostasp on August 21, 2004, 05:05:33 PM
Quote// All of the following block of strings should not use entities, instead use \" for " etc.

They usually have something similar to the above, above the blocks of strings where entities can't be used.
I thought so too. But seems its not allways like that. Example $txt['deadmin_confirm'] in profile.****.php.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

[Unknown]

Doesn't it say...

Quote// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'.

-[Unknown]

Owdy

Quote from: [Unknown] on August 21, 2004, 05:23:39 PM
Doesn't it say...

Quote// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'.

-[Unknown]
So? It doesnt say anything about entities. Those are js popups?
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

[Unknown]

Quote from: Owdy on August 21, 2004, 05:34:15 PM
Quote from: [Unknown] on August 21, 2004, 05:23:39 PM
Doesn't it say...

Quote// Escape any single quotes in here twice.. 'it\'s' -> 'it\\\'s'.

-[Unknown]
So? Those are js popups?

Well, they are used with javascript, which is basically the same idea......

-[Unknown]

Alexandre P.

SMF 1.0 RC1 French translation completed, attached to this message.  (The Help section is still in work.)
Aucun support par M.P., courriel ou messagerie instantanée / No support by P.M., email or I.M.

Skoen

I see that Final is just around the corner, and is therefore only going to work on the Norwegian translation for my own private forums up until the release of 1.0 Final, which I think will be out within the next two months.
So I will not release any updated translations until two days after the release of 1.0 Final.
Alf Otto 'Skoen' Fagermo
Retired Norwegian translator


bostasp

SMF 1.0 RC1 Hebrew has been sent off to be placed on the download page.

Hebrew comes with an additional theme so it can be viewed correctly. Anyone who has English-based themes on a forum which they wish to install the Hebrew language pack to will have to create a new theme.

I have updated the install.txt contained in the Hebrew package regarding the theme. If you want to install and use the Hebrew language pack on your forum, please read the install.txt file first!

[Unknown]

That theme included a lot of files it didn't need (unchanged) and added html to the beginning of every template file, which would screw up attachments.

I've updated it, but I'm still not so hot on it replacing the default theme.  I'd rather see it come with an installable theme and instructions on how to switch themes.

-[Unknown]

bostasp

The current Arabic translation does not come with a theme, and as far as I know, the only change that is needed is right-left reading direction for both Arabic and Hebrew, so I don't totally understand why a theme has been included with the Hebrew pack.

I'm not too happy with it replacing the default theme either. The problems with creating new themes, upgrading, re-theming doesn't seem worth it, when I don't even know if a separate theme is necessary...

Advertisement: