Work at jelly!!!
This is an awsome idea workatjelly.com. I hope we have the same events in Vietnam in near future
.
Add comment December 4, 2008
Việt hóa Alfresco!
Để Việt hóa Alfresco, phải dịch các file .property thủ công. Các property được đặt ở thư mục <custom config>/messages và có định dạng _XX_YY.properties.
- Tomcat – <Tomcat home>/shared/classes/alfresco (for example, C:\alfresco\tomcat\shared\classes\alfresco)
- JBoss – <JBoss home>/server/default/conf/alfresco (for example, C:\alfresco\jboss\server\default\conf\alfresco)
Để thay đổi các tùy chọn ngôn ngữ khi đăng nhập, phải chỉnh sửa file web-client-config-custom (có thể đổi tên của file sample):
- File ‘web-client-config-custom.xml’ nằm trong thư mục <custom config>/extension
- Tìm ‘<languages>’ section
- Thêm hay xóa ngôn ngữ theo định dạng: ‘<language locale=”XX_YY”>LangName</language>’
- Save file sau khi sửa
<!--
<config evaluator="string-compare" condition="Languages">
<languages>
<language locale="fr_FR">French</language>
<language locale="de_DE">German</language>
<language locale="ja_JP">Japanese</language>
</languages>
</config>
-->
Để dịch các field trong file property có thể dùng tool sau:
http://sourceforge.net/projects/alfresco
hay download trực tiếp
http://sourceforge.net/project/showfile ... _id=162536
Lưu ý khi sử dụng tiếng Việt trong file property phải sử dụng công cụ native2ascii để chuyển đổi UTF8 sang ascii.
Các file property nên download ở language package section trên website alfresco sourceforge.
Sau khi cập nhật phải restart lại server alfresco để thay đổi có hiệu lực.
Các file property:
-webclient: chứa các title login, giao diện web,...
(cont update)
Add comment November 1, 2008
Sử dụng tiếng Việt(Unicode) trong file .property java
Để tiếng việt Unicode được hiển thị đúng khi load nội dung trong file .property của java, phải sử dụng công cụ native2ascii của java để convert sang ascii. Các bước thực hiện:
- Gõ nội dung tiếng Việt vào file text text1.txt
- Sử dụng native2ascii: native2ascii.exe -encoding UTF8 text1.txt text2.txt
- Copy nội dung trong text2.txt vào file property
Add comment October 30, 2008
Kết nối hai server asterisk – trixbox với giao thức IAX
Để tất cả các máy điện thoại từ server asterisk này có thể liên lạc được với tất cả các máy điện thoại ở server asterisk kia, một trong những giải pháp để giải quyết vấn đề là kết nối hai server lại với nhau giả sử chúng ta có cấu hình như sau:
Máy server đặt tại KEN2 với địa chỉ ip 192.168.1.9
Máy server đặt tại KEN1 với địa chỉ ip 192.168.1.30
Thiết lập Trunks:
- Server1 (192.168.1.9):
+ Dial Rules: 4XXX
+ Trunk Name: KEN1
+ PEER Details:
|
host=192.168.1.30 username=KEN2 secret=password123 type=friend |
+ USER Context: KEN2
+ USER Details:
|
secret=password123 type=friend context=from-internal peercontext=from-internal |
+ Register String: g1
- Server2 (192.168.1.30):
+ Dial Rules: 3XXX
+ Trunk Name: KEN2
+ PEER Details:
|
host=192.168.1.9 username=KEN1 secret=password123 type=friend |
+ USER Context: KEN1
+ USER Details:
|
secret=password123 type=friend context=from-internal peercontext=from-internal |
+ Register String: g1
Thiết lập Outbound Routes:
- Server1 (192.168.1.9):
+ Dial Patterns: 4XXX
+ Trunk Sequence: IAX2/KEN1
- Server2 (192.168.1.30):
+ Dial Patterns: 3XXX
+ Trunk Sequence: IAX2/KEN2
Thiết lập Inbound Routes:
- Server1 (192.168.1.9):
+ DID Number: 3XXX
+ Caller ID Number: 3000
+ Extensions: tùy chọn
- Server2 (192.168.1.30):
+ DID Number: 4XXX
+ Caller ID Number: 4000
+ Extensions: tùy chọn
Tạo kết nối IAX trên Zoiper: Add new IAX account
+ Server Hostname/IP: 192.168.1.9 (192.168.1.30)
+ Username: 3000 (4000)
+ Password: password123
+ Caller ID Number: 3000 (4000)
+ Context: from-internal
Add comment June 27, 2008
Cài đặt Stardict trên Ubuntu 7.04
Stardict là bộ từ điển miễn phí cho nhiều ngôn ngữ và nhiều hệ điều hành(Fedora, Ubuntu, Windows…). Việc cài đặt Stardict trên Ubuntu 7.04 rất dễ dàng. Sau khi đã cài đặt, bạn có thể download data của các bộ từ điển khác nhau để sử dụng như anh-việt, việt-anh, pháp-việt, anh-pháp,…
Để cài đặt Stardict bạn làm các bước sau:
- Vào System >> Administration >> Synaptic Package Manager,nhập mật khẩu account của bạn để mở package manager.
-Sau khi thông tin các package đã load, click nút Search và gõ “Stardict” vào ô search, khi đã có kết quả,mark lên checkbox của stardict package và click nút “Apply” để yêu cầu cài đặt.
-Sau khi Ubuntu cài đặt xong Stardict, bạn có thể vào http://stardict.sourceforge.net/Dictionaries.php hay http://people.vnoss.net/pub/stardict/ để download các bộ từ điển.
-Nếu bạn cài đặt từ điển anh-việt, bạn phải download tập tin “stardict-dictd_anh-viet-2.4.2.tar.bz2″, giải nén tập tin và copy hay move thư mục vừa giải nén vào thư mục “/usr/share/stardict/dic”.
-Thư mục “/usr/share/stardict/dic” dùng để chứa data của các bộ từ điển, nếu bạn muốn sử dụng thêm các bộ từ điển khác, bạn download các file data, giải nén và copy hay move vào thư mục “/usr/share/stardict/dic” là có thể sử dụng.
-Khởi động Stardict và bạn có thể bắt đầu tra cứu. Stardict thường được cài đặt vào “Applications >> Accessories”
Chú ý: khi copy hay move data vào thư mục ‘/usr/share/stardict/dic’ , bạn phải dùng root account. Do đó bạn nên dùng terminal, sử dụng lệnh su để chuyển sang tài khoản root rồi mới thực hiện thao tác copy hay move.
Have fun
!
Add comment February 22, 2008