|
|
| Re: Status internationalization HyperVM [message #12156 is a reply to message #12154] |
Thu, 30 August 2007 07:31   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
That's simple. You can run this program specifically meant to find the words that are untranslated.
cd /usr/local/lxlabs/hypervm/httpdocs/
lphp.exe ../bin/common/langcompare.phps en gr
It will output a list of strings that are missing in the gr file when compared to the en. Please wait for sometime and then update hyperVM to version 532.
Thanks.
On Thu, Aug 30, 2007 at 10:21:05AM -0000, Lars wrote:
>
>
> I stopped the german translation for this time. I see in the language files from update to update changes. That worries me so due to the fact that the new strings stand in the middle of the file and not at the end. Searching for new Lines is stressful.
|
|
|
|
|
| Re: Status internationalization HyperVM [message #12161 is a reply to message #12159] |
Thu, 30 August 2007 08:25   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
| Quote: |
>
>
> I do see double lines and empty lines.
>
> $__description["."] = array(".");
> $__description[""] = array("");
>
> And a lot of
> $__description["i"] = array("I");
> like translations. Makes no sense to me where used why it must be uppercase.
>
|
The description list is automatically generated from our internal class definitions. But there will be absolutely no redundance as far as the key is concerned. You will only have one single $__description["$var"]. The left keys will always be in small. The right hand side must always be capitalized. You can ignore the untranslateable keys like $__description[""].
Thanks.
|
|
|
| Re: Status internationalization HyperVM [message #12162 is a reply to message #12160] |
Thu, 30 August 2007 08:27   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
Code is phps and thus open. You can create your own langcompare and do what you want to do. It is very simple linear logic.
cd /usr/local/lxlabs/hypervm/httpdocs/
cp ../bin/common/langcompare.phps ../bin/common/langcompare_nettune.phps
Then make changes to langcompare_nettune
Thanks.
|
|
|
|
| Re: Status internationalization HyperVM [message #12171 is a reply to message #12170] |
Thu, 30 August 2007 09:20   |
Lxhelp Messages: 23691 Registered: July 2006 |
The Champion |
|
|
On Thu, Aug 30, 2007 at 01:15:21PM -0000, Danny wrote:
>
>
> I am not a good programmer, but i want to try and need some help.
>
> As far i have this :
if (!isset($__description[$k])) {
print("\$__description[\"$k\"] = array(\"{$__description[$k]}\");
");
}
|
|
|
|
|
|
|
|
|
|
|