Advertisement:

Author Topic: SMF Translation FAQ  (Read 348368 times)

Offline Bouminok

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,201
SMF Translation FAQ
« on: March 18, 2004, 12:10:58 PM »
SMF Translation FAQ

If you have questions, please send a message to languages@simplemachines.org.

In which language can I translate SMF?

You can translate SMF in every language you want, except the ones who are already done (visit the language page for more info). Please remember that you have to speak the language very well to provide the users a complete and good translation. If you're not sure whether the language is already started, take a look at the language boards and ask there.


What do I need to translate SMF?

You need the actual english language files and a text editor with UTF-8 support - for example:

A button set generator, for instance, Marco van Veelen's Button Generator.


How do I start?

After downloading on of the english language files, uncompress them in a folder on your PC. It'll look like this:

smf_1-1_english (or smf_1-1_english-utf8)
|- Themes
   |- babylon
   |  |- images
   |  |  |- english
   |  |- languages
   |- classic
   |  |- images
   |  |  |- english
   |  |- languages
   |- default
      |- images
      |  |- english
      |- languages





--> Babylon buttons
--> Babylon language files


--> Classic buttons
--> Classic language files


--> Default buttons
--> Default language files


  • Open the .php files with the text editor and translate the text between the single quotes after the equivalence sign:
    $txt['mboards_new_cat'] = 'Create new category';
    $txt['mboards_new_board'] = 'Add Board';


    Remove the comments "// Untranslated!" if you translated the string!

  • If you have to use single quotes in the strings, please use a backslash before it. Otherwise, the language file will be useless.
    $txt['smf285b'] = 'It wasn\'t necessary to optimize any tables.';

  • Please use numeric HTML Entities (look here) instead of any special character in the language strings. You don't have to use HTML Entities if you create an UTF-8 package.
Code: [Select]
$txt['sendtopic_comment'] = 'Kommentar hinzufügen';

  • You can add credits into the admin area by editing "Admin.xxx.php" -> line 52 -> $txt[644]. Add "<br />" and your text after the word "functions.".

  • Don't do the following things with the language package:
    • add language strings from mods
    • add additional pictures
    • add credits other than the above mentioned
    • add text that does not one-on-one translate to the english text
    • translate comments


What files do I have to translate?

  • You've to translate all the language files and the buttons of the babylon and classic theme.
  • If you want to translate 1.0.x packages, you can also translate the .xml files located in the 'help' folder.
    Please translate only the '.xml' files!


I finished the translation, what's next?

Make sure that you've at least one package: An ANSI encoded or an UTF-8 encoded package. Compress the files including folders with Winzip, WinRAR or any other archiving program using the .zip format, normal compressing ratio and send the files to my email address.
« Last Edit: January 04, 2008, 02:31:33 AM by Daniel D. »

Offline Owdy

  • SMF Fossil
  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,550
  • Gender: Male
  • W00t!
    • janoloferiksson on LinkedIn
    • @@jaoler on Twitter
Re: Language Translations
« Reply #1 on: March 18, 2004, 01:02:53 PM »
How about that Translation team what Devs talked about? I asked that from Jeff, but he didnt answer. I think idea is good, we should have own hidden board where to talk about translation issues, guidelines etc. :) And mr B in charge of cource  :P  :D
« Last Edit: March 18, 2004, 01:04:47 PM by Owdy »
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

Offline Bouminok

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,201
Re: Language Translations
« Reply #2 on: March 18, 2004, 01:13:00 PM »
Although I think a translation team would be too huge to handle, it does seem a good idea. I do sort of need to post the guildlines.

Offline A.M.A

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,133
  • Gender: Male
  • ..
Re: Language Translations
« Reply #3 on: March 18, 2004, 03:05:35 PM »
How about that Translation team what Devs talked about? I asked that from Jeff, but he didnt answer. I think idea is good, we should have own hidden board where to talk about translation issues, guidelines etc. :) And mr B in charge of cource  :P  :D
I second that
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

Offline Killer Possum

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,085
  • Professional Llama Charmer
    • SSPMark on GitHub
    • @ZeroGravX on Twitter
    • Some Secret Place
Re: Language Translations
« Reply #4 on: March 18, 2004, 03:07:41 PM »
Oh you just want a hidden board so you can feel extra special :P ;D

Offline Owdy

  • SMF Fossil
  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,550
  • Gender: Male
  • W00t!
    • janoloferiksson on LinkedIn
    • @@jaoler on Twitter
Re: Language Translations
« Reply #5 on: March 18, 2004, 03:09:26 PM »
Oh you just want a hidden board so you can feel extra special :P ;D
Sure sure....  :P And i want 10 stars!  ;D
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

Offline Killer Possum

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,085
  • Professional Llama Charmer
    • SSPMark on GitHub
    • @ZeroGravX on Twitter
    • Some Secret Place
Re: Language Translations
« Reply #6 on: March 18, 2004, 03:15:21 PM »
hehe

Offline eFishie

  • The Anti-Llama
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,470
  • Gender: Male
  • Vibin' The Crook
    • The Abstraction Point
Re: Language Translations
« Reply #7 on: March 18, 2004, 05:08:55 PM »
I'll do a Pig Latin language file.
--Jon

Abstraction Point Electronic Music Community - We don't bite! Really! I promise!

Check out my newest song: Alive

Offline [darksteel]

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,466
  • Gender: Male
  • SMF is a big boy
Re: Language Translations
« Reply #8 on: March 18, 2004, 05:17:46 PM »
Spanish: Omar Bazavilvazo
Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

Offline КengЯacing

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
  • SMF Thailand.
    • SMF Thailand.
Re: Language Translations
« Reply #9 on: March 18, 2004, 05:26:19 PM »
Thai: Keng
Sorry i'm speak english not well.
SMF Thailand. [nofollow] : Simple Machines Community Forum Thai Language Support.
RacingWeb.NET [nofollow] : The Thailand's First Racing cars Community on Web.
[nofollow]

Offline Bouminok

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,201
Re: Language Translations
« Reply #10 on: March 18, 2004, 05:31:07 PM »
I'll do a Pig Latin language file.
PM me Piranha and we'll get that one sorted out ;)

Spanish: Omar Bazavilvazo
I'm still yet to talk to Omar, I'll send him a PM later.

Thai: Keng
Added. You also have a PM.

Offline [darksteel]

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,466
  • Gender: Male
  • SMF is a big boy
Re: Language Translations
« Reply #11 on: March 18, 2004, 06:11:48 PM »
Spanish is added
Luis "[darksteel]" Alvarado.
Spanish Support
¿Qué es el repair_settings?
No doy soporte por PM, publica tu duda en el foro y tendras respuestas mas rapidas.
My forum:
www.caamboard.com

Offline Bouminok

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,201
Re: Language Translations
« Reply #12 on: March 19, 2004, 12:04:00 PM »
Can someone sticky this, please? :-[

Offline eFishie

  • The Anti-Llama
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,470
  • Gender: Male
  • Vibin' The Crook
    • The Abstraction Point
Re: Language Translations
« Reply #13 on: March 19, 2004, 12:57:05 PM »
How come Pig Latin isn't on that table anywhere?

Owhay omecay Igpay Atinlay sn'tiay noay hattay abletay nywhereay?

:(

(:ay
--Jon

Abstraction Point Electronic Music Community - We don't bite! Really! I promise!

Check out my newest song: Alive

Offline Bouminok

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,201
Re: Language Translations
« Reply #14 on: March 19, 2004, 01:15:53 PM »
How come Pig Latin isn't on that table anywhere?

Owhay omecay Igpay Atinlay sn'tiay noay hattay abletay nywhereay?

:(

(:ay

Added :P

Offline eFishie

  • The Anti-Llama
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,470
  • Gender: Male
  • Vibin' The Crook
    • The Abstraction Point
Re: Language Translations
« Reply #15 on: March 19, 2004, 03:25:45 PM »
Hankstay, Ostaspbay!
--Jon

Abstraction Point Electronic Music Community - We don't bite! Really! I promise!

Check out my newest song: Alive

Offline Kris

  • Full Member
  • ***
  • Posts: 685
  • Gender: Male
  • So what?
Re: Language Translations
« Reply #16 on: March 20, 2004, 03:20:22 AM »
Though I think an extra board or extra rights on a special download page where you can find newer files to download is recommendable.
That way you can translate all files in the offered langueages before the next release.


Offline ivogomes

  • Sr. Member
  • ****
  • Posts: 921
  • Gender: Male
  • I'm only part of your imagination!
    • ivogomes.com
Re: Language Translations
« Reply #17 on: March 20, 2004, 07:36:15 AM »

Portuguese ivogames



It's ivogomes ;)

The portuguese translation is 90% done. Only the Help file left to translate!!
SMF Portuguese Translator
SMF 2.0 (100% translated)

http://www.ivogomes.com
http://www.portaldascuriosidades.com

Offline Peter Duggan

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,656
  • Gender: Male
    • Peat Stack or Pete's Tack?
Re: Language Translations
« Reply #18 on: March 20, 2004, 09:33:25 AM »
The portuguese translation is 90% done. Only the Help file left to translate!!

So when you've done that you'll be able to start on the (radically) revised help files I'm working on now! ;)

Offline ivogomes

  • Sr. Member
  • ****
  • Posts: 921
  • Gender: Male
  • I'm only part of your imagination!
    • ivogomes.com
Re: Language Translations
« Reply #19 on: March 20, 2004, 09:41:51 AM »
So you mean that the current help file is going to be replaced? If so, should I translate this one or wait for the new one?
SMF Portuguese Translator
SMF 2.0 (100% translated)

http://www.ivogomes.com
http://www.portaldascuriosidades.com