| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 17749|Reply: 27
Collapse the left

Vietnamese for X2.5

  [Copy link]

 Vietnam

Post time: 2012-03-13 11:10
| Show all posts |Read mode
Edited by fanha99 at 2012-4-19 12:41

updated with the DCV version (2012/04/19)

https://discuz-x25-viet.googlecode.com/svn/trunk/discuz_X25
R37

 Russia

Post time: 2012-03-13 11:51
| Show all posts
Thanx, it's great!
Soon I will upload Vietnamese pack to repository.
The job required:
Synchronize all rows with Simplified Chinese (or English) pack:
a) Compare every file in VN and SC folder.
b) Add all new rows that is appeared in SC/EN
c) Remove from VN all the rows that was removed from SC/EN
d) All the rows must be at the same place and at the same order as in original.
e) Translate all the VN rows tat are yet not translated.

Are you ready for this job?

 Vietnam

 Author| Post time: 2012-03-13 13:11
| Show all posts
yes, I'm

 Russia

Post time: 2012-03-13 16:49
| Show all posts
VN pack uploaded.

R17:
Language packs from X2 Uploaded.

ATTENTION:
Need to be compared with SC or EN pack!!!

http://code.google.com/p/discuzx25/source/detail?r=17

 Vietnam

 Author| Post time: 2012-03-13 17:13
| Show all posts
hi, is there a way to switch lang like X2 version?

it will help to check the full sentence.

where I put the result file?

 Russia

Post time: 2012-03-13 17:43
| Show all posts
See R19.

 Vietnam

 Author| Post time: 2012-03-13 20:51
| Show all posts
Edited by fanha99 at 2012-4-8 18:30

hi, I checked the r19

there is some EN files not sync with the SC, right?
so I only need to compare with the SC?

how to enable the langs switch? can you show me the link?

is there some usefull tool to check the lang files?

I attach my tool:

1. discuz_langdiff.php to check 2 lang folder. it will check all the .php files, one by one, and show the result:
--- count the number of text id inside each file. you will know is there missing some text in the file.
--- list out all the text id which is exist in the A lang, but not exist in the B lang
--- list out all the text id which is exist in the B lang, but not exist in the A lang

2. discuz_genfile.php sort the text id of B lang, to make sure it have the same order with A lang,
for each text id,
-- it will get from B if that id exist in both files.
-- get from A if not exist in B but exist in A
-- discard all the text id which is not exist in A

how to use:
- copy these 2 file into you main folder of discuz
- edit
  1. $mlang = "sc";
  2. $tlang = "en";
Copy the Code
- call it via browser.

for the 2nd tool, you will need to define the file name too
  1. checkdir("source/language/". $mlang. "/", "forum/lang_template.php");
Copy the Code
- call it via browser. then press ctrl+u in the result screen

with these 2 tools, you can make sure you are not missing any text id when you translate.

I hope these tool is useful.

any bug report is welcome.



 Russia

Post time: 2012-03-14 08:04
| Show all posts
there is some EN files not sync with the SC, right?
so I only need to compare with the SC?

1) SC is synchronized with official X2.5RC.
2) EN must be synchronized with SC.
3) After this EN & SC must be synchronized with Multilingual version (some new rows was added).
I tried to perform this three steps, but of course I can made some mistakes.

how to enable the langs switch? can you show me the link?

http://codersclub.org/discuzx/fo ... &extra=page%3D1

is there some usefull tool to check the lang files?

No. Only something like windiff, winmerge...

I attach my tool

Nice. Thanx!
WIll see...

 Vietnam

 Author| Post time: 2012-03-14 17:14
| Show all posts
just update the new version of tool to 1st post.

the previous version of genfile is not good if there is any variable inside the text.

still can't work well with the file: lang_admincp_searchindex.php there is some child array inside the text.

 Vietnam

 Author| Post time: 2012-03-14 17:20
| Show all posts
is the r20 SC text in good order, the same order as the official X2.5, in case you need to update later?

I will improve the tool to make sure it can sync the order of all the text file.

then I will sync the order first, then get some other Vietnamese to help to translate, it will be faster.
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-04-24 14:44 GMT+3 , Processed in 0.202077 sec., 9 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list