Vietnamese for X2.5
Edited by fanha99 at 2012-4-19 12:41updated with the DCV version (2012/04/19)
https://discuz-x25-viet.googlecode.com/svn/trunk/discuz_X25
R37 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? :)
yes, I'm :) 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 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? See R19. 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
$mlang = "sc";
$tlang = "en";
- call it via browser.
for the 2nd tool, you will need to define the file name too
checkdir("source/language/". $mlang. "/", "forum/lang_template.php");
- 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.
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/forum.php?mod=viewthread&tid=722&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...
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. 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.