Yii Framework Forum: Call for help: Yii Internationalization - Yii Framework Forum

Jump to content

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • This topic is locked

Call for help: Yii Internationalization Rate Topic: -----

#21 User is offline   kzap 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 07-February 09

Posted 08 February 2009 - 08:12 AM

Would it be useful to translate into languages like Filipino who mostly use English, I was thinking there is a greater chance of more local popularity if it is in the national language?
0

#22 User is offline   mocapapa 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 424
  • Joined: 04-January 09
  • Location:Tokyo, JAPAN

Posted 14 February 2009 - 10:25 PM

Qiang,

There is a difference between the guide (http://www.yiiframework.com/doc/guide/) and the helper application index.php in SVN.

When I turn the page to Japanese by clicking, japanese toc.txt is displayed according to the langueage in terms of the helper application of the index.php. On the ohter hand, it is not shown in the guide.

Please fix it some day.

0

#23 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,875
  • Joined: 04-October 08
  • Location:DC, USA

Posted 15 February 2009 - 07:04 AM

The version you saw on yiiframework.com is 1.0.2, which does not have the Japanese toc yet. We will update it when 1.0.3 comes out.
0

#24 User is offline   mocapapa 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 424
  • Joined: 04-January 09
  • Location:Tokyo, JAPAN

Posted 15 February 2009 - 07:31 AM

Quote

The version you saw on yiiframework.com is 1.0.2, which does not have the Japanese toc yet. We will update it when 1.0.3 comes out.

Sorry for my confusion. Actually, I am looking at *.txt in SVN using a helper application of the document. Though I knew other documents exist only in SVN, but I forgot that the toc.txt exists only in SVN as well.
0

#25 User is offline   KJedi 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 381
  • Joined: 19-October 08
  • Location:Nikolaev, Ukraine (Europe)

Posted 18 February 2009 - 05:02 AM

How about source files and translation for the blog tutorial?
0

#26 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,875
  • Joined: 04-October 08
  • Location:DC, USA

Posted 18 February 2009 - 06:55 AM

Let's translate the blog tutorial a month later so that it is stable enough.
0

#27 User is offline   mishhh 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 01-February 09

Posted 28 February 2009 - 10:20 AM

Hey there,

Regarding translation of messages, about the pair [key|english] => [value|translation]:

I was wondering: wouldn't be more convenient if the key english message was copied into value message already?

I have to copy paste the message myself every time. I guess I can make a simple php to do all copy/paste work, but I am not familiar with regular exp​ressions to make a more advanced script.

Do you feel what I am talking about to be a good idea?
0

#28 User is offline   KJedi 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 381
  • Joined: 19-October 08
  • Location:Nikolaev, Ukraine (Europe)

Posted 28 February 2009 - 11:25 AM

Well, as far as I understand, if your souce language is English and target is English also, you don't need the en_US (or en_*) file, if translation is not found, key is shown. Am I right, Qiang?
0

#29 User is offline   tri 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 1,651
  • Joined: 20-November 08
  • Location:Stockholm, Sweden

Posted 28 February 2009 - 11:40 AM

I think he/she means to have the the messages duplicated in the right hand side as a starting point for the translation. I use to do this too, but it might just complicating things in other languages, I guess. If implemented, a separate template for translations would be better since we would need a clear indication that the right hand isn't yet translated.

Question to Qiang: When will the final 1.0.3 merge to trunk take place? (EST, GMT/UTC or CEST.  ;))

0

#30 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,875
  • Joined: 04-October 08
  • Location:DC, USA

Posted 28 February 2009 - 01:22 PM

I just did the final merge.

Why you need to copy the source message? If the target message is empty, the source message will be used.
0

#31 User is offline   mishhh 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 01-February 09

Posted 28 February 2009 - 02:12 PM

I was thinking of a script, as Tri put it.

A script that will fill those [value|translation] empty messages with english version. In this way, the translator would not be forced to copy&paste every [key|english] message into the [value|translation] message.

Anyway, I've just finished translating ...by copying and pasting...

And another question: How do you guys maintain/find the source (the file with the ID matching your translation) to be able to compare that version with a new source (that has a new ID)?

Until now, I couldn't think of a better method than simply copy the source into a separate folder, and in the future, compare my source with an eventual new source of the file (with a new ID).



0

#32 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,875
  • Joined: 04-October 08
  • Location:DC, USA

Posted 28 February 2009 - 02:48 PM

Did you check README? You can use the following command:

build message ../framework/messages/config.php

I still don't understand why you would need to copy&paste....you are supposed to fill in values with translated messages, not source messages.
0

#33 User is offline   ing.espitaleta 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 02-February 09

Posted 01 March 2009 - 09:47 PM

Hi guys, I´m from Colombia, I would like to participate in the spanish group.
Best regards
0

#34 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,875
  • Joined: 04-October 08
  • Location:DC, USA

Posted 02 March 2009 - 09:43 AM

Thank you, ing.espitaleta! Could you PM me your gmail account?
0

#35 User is offline   sebas 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 496
  • Joined: 28-October 08
  • Location:Buenos Aires, Argentina

Posted 04 March 2009 - 06:57 PM

Qiang:

I was doing some of the Spanish translations. Could you tell me if the way i was doing and committing them to the SVN are correct.

Thanks!
0

#36 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,875
  • Joined: 04-October 08
  • Location:DC, USA

Posted 04 March 2009 - 09:15 PM

Yes, it looks good to me. Did you try the included index.php to view your translation online?
0

#37 User is offline   knut 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 45
  • Joined: 10-October 08
  • Location:Notodden, NORWAY

Posted 12 April 2009 - 02:21 AM

Quote

2. I can't think of a good way to synchronize the guide translations. Perhaps each page translation should keep a revision ID of the original page so that in future a new revision is found with the original page, the translation can be synchronized accordingly.


We do this in translation of the PHP Manual.

Example:
http://cvs.php.net/v...pe=text%2Fplain



  • EN-Revision is which revision of the source file this translation is based on
  • Maintainer is the owner of this file (who to contact if you want changes)
  • Status is ready (will be published) or draft


revcheck.php has been used to create the following statistical pages:
http://doc.php.net/p...eck.php?p=intro

As a translator you want to know as soon as possible when a source file has changed and get a diff between the previous and the current version. Whenever we are able to track changes between the translated files revision and the source files revision we could setup email notifications to translators which includes proper diffs.
0

#38 User is offline   GoofyX 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 158
  • Joined: 15-April 09
  • Location:Thessaloniki, Greece

Posted 23 April 2009 - 03:22 PM

Qiang, I sent you a PM with my details.

Thanks!
0

#39 User is offline   samsun 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 20-April 09

Posted 24 April 2009 - 04:47 AM

I want to join for intenationalization, i want to contribute to translate in Indonesia.

Regards,
Samsun
0

#40 User is offline   ing.espitaleta 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 02-February 09

Posted 25 April 2009 - 11:59 PM

Hi Qiang so what can I help about??, I´m from Colombia, and I offer to translate as huge as I can!
Best regards!
0

Share this topic:


  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users