已加入OpenRocket邮件列表并发表改进意见
celeron5332013/08/16喷气推进 IP:澳大利亚
邮件列表地址
XXXXXXXXXXXXXXXXXXXXXt/p/openrocket/mailman/openrocket-devel/


附文(写的都是很简单的英语,懒。)

Hi Guys,

I am a Chinese student. Some of my friends are rocket enthusiasts. They discovered the powerful OpenRocket in SourceForge but the language barrier is a headache problem so only few people could use the software.

When I was working on Chinese localization (l10n) these days, two main issues have been found.
(I haven't fully review the source code, maybe I am wrong in some points.)

1. Register supported language.

java.util.locale supports Language and Country, such as Fr_fr, En_US, En_GB, En_AU.
Of course, if set the language code without country code, Locale still works.
However, in China, which has two different language systems: Traditional Chinese and Simplified Chinese. Normally the language codes are zh_TW (Taiwai) and zh_CN (motherland).

A little enhancement could be done in [SwingPreferences.java]

    private static final List<Locale> SUPPORTED_LOCALES;
    static {
        List<Locale> list = new ArrayList<Locale>();
        for (String lang : new String[] { "en", "de", "es", "fr", "it", "ru", "cs", "pl"}) {   //original code
            XXXXXXXd(new Locale(lang));
        }
        XXXXXXXd(new Locale("zh","cn"));   //add
        XXXXXXXd(new Locale("zh","tw"));   //add
        SUPPORTED_LOCALES = Collections.unmodifiableList(list);
    }

After modified this code and created two l10n language files (messages_zh_XXXXXoperties, messages_zh_XXXXXoperties), OpenRocket Preference -> Interface Languages will list the items properly.


2. Asian Fonts
When OpenRocket generates a diagram, it refers embedded font XXXXXXXXXXXXXXf as default. Unfortunately, this font does not support Chinese or Japanese or other Asian languages, any words on the diagram will present as squares.
In my opinion, It is not recommended to embedded these fonts into OpenRocket because of their file size. I wish OpenRocket could implement a font selection menu in Preference window, for both java form font and diagram font.



Cheers,
celeron533
+14  科创币    20!Dopaminor    2013/08/16 好评&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .....................都千古了
来自:航空航天 / 喷气推进
4
已屏蔽 原因:{{ notice.reason }}已屏蔽
{{notice.noticeContent}}
~~空空如也
celeron533 作者
11年5个月前 IP:未同步
560986
Interface这个单词都被屏蔽啊。。。

RFA

反屏蔽测试

测试通过
引用
评论
加载评论中,请稍候...
200字以内,仅用于支线交流,主线讨论请采用回复功能。
折叠评论
celeron533作者
11年5个月前 IP:未同步
561279
已收到OpenRocket回复

Zhu
That is really good, could you please send us the files so that they can be
included in the OpenRocket core code. Note that sometime it is best to send
them has a word document so that I can convert them.

Kevin/Sampo

What do you think of point nbr 2 that Zhu reported?
Regards
Boris


经过对比,我发现当前的简体中文翻译文件已经无法适应最新的OpenRocket版本。主要问题是原本有部分字段未翻译以及某些字段在新版本中新增/移除。
希望有能力的人士能开始修订工作。
如果能同时出版繁体中文版那就更好了

关于翻译工作的详细内容,我会整理一下,明天发布。希望多多参与。
引用
评论
加载评论中,请稍候...
200字以内,仅用于支线交流,主线讨论请采用回复功能。
折叠评论
celeron533作者
11年5个月前 IP:未同步
561772
From: XXXXXXXXskanen@XXXXXX
Date: Sun, 18 Aug 2013 18:52:17 +0300
To: openrocket-devel@XXXXXXXXXXXXXXXXXXXXt
Subject: Re: [Openrocket-devel] Issues When Translate OpenRocket to Chinese (or other Asian Languages)




Hi,
Thanks for the work Zhu!
Regarding the language codes, I think it would be better to have either one the "default" Chinese version with language code zh, and the other one a language variant zh-CN or zh-TW.  That way it the current locale is just "zh" or some other variant of it (for example zh-HK), it still provides a Chinese locale.  In a previous work project we had "zh" being Simplified Chinese and zh-TW and zh-HK as variants.  Please give your opinion about this.

Is there some specific reason why the DejaVuSerif font is embedded and used?  Could we just use some standard PDF fonts (probably Helvetica)? (XXXXXXXXXXXXXXXXXXXXXXX/wiki/Portable_Document_Format#Standard_Type_1_Fonts_.28Standard_14_Fonts.29)







Cheers,

   Sampo N.
引用
评论
加载评论中,请稍候...
200字以内,仅用于支线交流,主线讨论请采用回复功能。
折叠评论

想参与大家的讨论?现在就 登录 或者 注册

所属专业
上级专业
同级专业
celeron533
进士 学者 机友 笔友
文章
163
回复
2446
学术分
7
2011/06/06注册,5天17时前活动
暂无简介
主体类型:个人
所属领域:无
认证方式:手机号
IP归属地:未同步
文件下载
加载中...
{{errorInfo}}
{{downloadWarning}}
你在 {{downloadTime}} 下载过当前文件。
文件名称:{{resource.defaultFile.name}}
下载次数:{{resource.hits}}
上传用户:{{uploader.username}}
所需积分:{{costScores}},{{holdScores}}下载当前附件免费{{description}}
积分不足,去充值
文件已丢失

当前账号的附件下载数量限制如下:
时段 个数
{{f.startingTime}}点 - {{f.endTime}}点 {{f.fileCount}}
视频暂不能访问,请登录试试
仅供内部学术交流或培训使用,请先保存到本地。本内容不代表科创观点,未经原作者同意,请勿转载。
音频暂不能访问,请登录试试
支持的图片格式:jpg, jpeg, png
插入公式
评论控制
加载中...
文号:{{pid}}
投诉或举报
加载中...
{{tip}}
请选择违规类型:
{{reason.type}}

空空如也

加载中...
详情
详情
推送到专栏从专栏移除
设为匿名取消匿名
查看作者
回复
只看作者
加入收藏取消收藏
收藏
取消收藏
折叠回复
置顶取消置顶
评学术分
鼓励
设为精选取消精选
管理提醒
编辑
通过审核
评论控制
退修或删除
历史版本
违规记录
投诉或举报
加入黑名单移除黑名单
查看IP
{{format('YYYY/MM/DD HH:mm:ss', toc)}}