ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changes between Version 4 and Version 5 of I18N


Ignore:
Timestamp:
Sep 18, 2006, 11:45:54 AM (16 years ago)
Author:
dc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • I18N

    v4 v5  
    1 Internationlization Project goes here.
     1Internationlization Project page.
    22
    3 We need to make language files for each language. We decided to use the wiki for this, so everyone can edit easily.
     3OpenPNE is currently heavily focused on japanese, but an internationalisation project is underway. Please let us know if you can help.
    44
    5 [wiki:langTags_en]
     5There are two chunks of work that need to be done.
    66
    7 [ticket:5 ticket language template tags]
     71) converting templates to use tags
     8The smarty templates used by openPNE currently have japanese text inside the template. These words need to be replaced with tags. eg:
     9友達リスト -> replace with {#friendsList#}
     10The template files are the .tpl files, and can be found in your PNE installation in
     11webapp/modules/pc/templates
     12webapp/modules/ktai/templates
     13
     14Since these files are part of the source code, you'll have to edit them locally and for now send them into someone who has "commit privileges" to add back to the main openPNE build.
     15
     162) translation of tags
     17We then need to provide "lookup tables" for these tags, in your different languages.
     18We need to make a separate file for each language. We decided to use the wiki for this, so everyone can edit and add to the ilst easily, then just copy the page down and save as a text file. These files will go somewhere like
     19  webapp/lang/en/config.php
     20  webapp/lang/ja/config.php
     21these are smarty "configuration files".
     22
     23eg
     24[en]
     25friendsList=Friends List
     26
     27[jp]
     28friendsList=友達リスト
     29
     30This work has just started, so please join in and we can get it done quickly!
     31
     32[wiki:langTags_en English file]
     33[wiki:langTags_ja 日本語 language tags file]
     34If you don't see your language here, click below to "edit this page" and add a new link!
     35
     36
     37related core development: [ticket:5 ticket language template tags]