Development

#3561 (Spanish translation do sfSimpleForumPlugin)

You must first sign up to be able to contribute.

Ticket #3561 (closed enhancement: fixed)

Opened 5 months ago

Last modified 5 months ago

Spanish translation do sfSimpleForumPlugin

Reported by: gandalfu Assigned to: FabianLange
Priority: minor Milestone:
Component: sfSimpleForumPlugin Version: 1.0.16
Keywords: Cc:
Qualification: Unreviewed

Description

This is my first contribution to symfony.

Attachments

messages.es.xml (4.3 kB) - added by gandalfu on 05/16/08 09:34:05.
Added missing moderator string…

Change History

(follow-up: ↓ 3 ) 05/16/08 09:12:12 changed by FabianLange

  • owner changed from francois to FabianLange.
  • status changed from new to assigned.

just need to figure out what you actually translated. because it seems to be incomplete

05/16/08 09:17:08 changed by gandalfu

I couldnt find the file with all the messages so I added this code* to the i18nhelper and translated the output.

I then visited the forum pages one by one, as standard user and as a moderator... I very very new to symfony, maybe i got lost...

where are all the messages?

*code

$outstr = $i18n->($text, $args, $catalogue); if ($outstr == $text) {

$str = " <trans-unit id=\"1\">

<source>$text</source> <target>$text</target>

</trans-unit>\n";

file_put_contents ( "strings.xml" , $str , FILE_APPEND);

}

return $outstr;

(in reply to: ↑ 1 ) 05/16/08 09:25:38 changed by gandalfu

send me your messages.fr.xml for this plugin and for the sfguard *.* i will be more than happy to write the translation for those.

Replying to FabianLange:

just need to figure out what you actually translated. because it seems to be incomplete

05/16/08 09:29:32 changed by FabianLange

well looks ok so far. i foudn a ('Moderator') which wasnt in the file

And I do not have files :-)

ATM I am rewriting all codes to use sfSimpleForum as name for the xml file as the sfMediaLibrary does, i think the pattern is good an clean. will be backwards compatible with your file.

05/16/08 09:34:05 changed by gandalfu

  • attachment messages.es.xml added.

Added missing moderator string...

05/16/08 09:57:41 changed by FabianLange

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [8997]) added spanish translation to sfSimpleForumPlugin. Closes #3561

05/16/08 10:01:54 changed by FabianLange

as you can see i refactored the plugin to take the translations from a catalogue called sfSimpleForum instead of the default messages catalogue to prevent collision with messages catalogue. Your file has been integreated and the xml reindented. please use http://trac.symfony-project.com/browser/plugins/sfSimpleForumPlugin/trunk/modules/sfSimpleForum/i18n/sfSimpleForum.es.xml as base if you want to enhance the translation.