This is Sachiko Nagahira in CEC.
Now we are going to contribute japanese language file to socialcalc
according to the contract with SocialText. Now, our use version
Socialcalc1.1.0.
I referred SocialCalc Translations(http://www.socialtext.net/open/
index.cgi?socialcalc_translations) for SocialCalc translations.
According to the SocialCalc Translations Page, the best localization
way is definition.txt used.
But, even if I change definition.txt as follows, SocialCalc was not
changed when I saw in a browser after socialcalc.cgi restart.
string:Page:ページ
I think...
Definitions.txt is loaded in Sheet.pm and Format.pm only.
But, A lot of files (socialcalc.pl,socialcalccgi.pl,lib/*.pm, etc...)
load "String.pm". Just maybe, Strings.pm overrides definitions.txt?
I'm not understand the way to reflecting method to use
definitions.txt.
Please teach me the way.
Nagahira.
What Polish definitions.txt file?
We did alter the path to the definitions.txt file in
SocialCalc::Sheet, and tested the interface, during the split. There
may be a few issues remaining. Dan, perhaps you can download the
latest and try running it? Preferably from SVN. See socialcalc.org
for the link to the subversion repository. Report to the list if you
find any functionality broken.
Cheers,
--
Casey West
Tony and I have researched your problem. It is a bug we introduced in
the latest official release of SocialCalc. We have fixed this bug in
the latest snapshot. You can download the snapshot from our website: http://socialcalc.org
.
Now, any string overrides you make in definitions.txt are available to
the core and the standalone application.
Please test the latest snapshot and let us know how it works.
Thank you.
Thank you for your responses!
I tested the latest snapshot.
However, the expression I defined in "definition.txt" is not refected.
To confirm which file reflected, I changed files "lib/App/SocialCalc/
Strings.pm" and "share/socialcalc/definitions.txt"
example to the following effect.
1. lib/App/SocialCalc/Strings.pm:
Line 264:previewpublishtoserver" => "test(Strings.pm) Publish to the
server as",
2. share/socialcalc/definitions.txt:
Line 171:string:gelisttitle:test(definitions.txt) Pages You Can Edit
On
Site:
1 is reflected, but 2 isn't.
Have I made a mistake in the procedure?
I confirmed it according to the following procedures.
1)The latest snapshot download
Socialcalc-snap.tar.gz is downloaded from SocialCalc.org, and
depressed.
2)Permission change
chmod -R a+755 *
3)Perl module downloadPerl -MCPAN -e shell, etc...
4)String.pm and Definition.txt are changed.
5)Execution
perl socialcalc.pl
6)It confirms it by a browser.
http://127.0.0.1:6556/
Could you give me some advice, please?
Sachiko Nagahira
On 7月7日, 午前5:19, Casey West <c...@geeknest.com> wrote:
> Hello,
>
> Tony and I have researched your problem. It is a bug we introduced in
> the latest official release of SocialCalc. We have fixed this bug in
> the latest snapshot. You can download the snapshot from our website:http://socialcalc.org
> .
>
> Now, any string overrides you make in definitions.txt are available to
> the core and the standalone application.
>
> Please test the latest snapshot and let us know how it works.
>
> Thank you.
>
> On Jul 4, 2007, at 4:36 AM, s-Naga <kirit...@gmail.com> wrote:
>
>
>
>
>
> > Dear All!
>
> > This is Sachiko Nagahira in CEC.
> > Now we are going to contribute japanese language file to socialcalc
> > according to the contract with SocialText. Now, our use version
> > Socialcalc1.1.0.
> > I referred SocialCalc Translations(http://www.socialtext.net/open/
> > index.cgi?socialcalc_translations) for SocialCalc translations.
> > According to the SocialCalc Translations Page, the best localization
> > way is definition.txt used.
> > But, even if I change definition.txt as follows, SocialCalc was not
> > changed when I saw in a browser after socialcalc.cgi restart.
>
> > string:Page:ページ
>
> > I think...
> > Definitions.txt is loaded in Sheet.pm and Format.pm only.
> > But, A lot of files (socialcalc.pl,socialcalccgi.pl,lib/*.pm, etc...)
> > load "String.pm". Just maybe, Strings.pm overrides definitions.txt?
>
> > I'm not understand the way to reflecting method to use
> > definitions.txt.
> > Please teach me the way.
>
> > Nagahira.- 引用テキストを表示しない -
>
> - 引用テキストを表示 -
I'll let Casey respond on the main question, but I'd like to ask about
these two steps. They shouldn't have any impact on the problem you're
reporting, but I'm curious as to why you need to change the permissions
on anything, and on which Perl modules you are needing to download.
Neither of these steps should be required.
Thanks,
Tony
I answer your questions.
First of all, I try to execute Socialcalc on RHEL4.
When I start it using "bin/socialcalc.pl", Socialcalc can move
locally.
However, when I ran "bin/socialcalccgi.pl", " Internal Server Error."
displeyed on the Web UI. So, I do many trial referencing the
installation how-to
(http://www.socialtext.net/open/index.cgi?socialcalc).
I think, the procedure may be different from definition.txt problem.
Does it become an answer?
Are you sure you're running the latest snapshot? In that there is no
"bin/socialcalc.pl". This may explain your definition.txt problem.
> However, when I ran "bin/socialcalccgi.pl", " Internal Server Error."
> displeyed on the Web UI. So, I do many trial referencing the
> installation how-to
> (http://www.socialtext.net/open/index.cgi?socialcalc).
The instructions you appear to be following here are for OSX only, to
work around problems with the default perl installation provided by
Apple. These should not be needed on Linux.
These instructions are also only for the 'desktop' version - not the CGI
version, which will require configuration of your webserver and either
setting paths or moving files around.
Tony
The translation of Japanese was prepared.
However, definitions.txt is not reflected as usual.
Is there a person who succeeds in the reflection of definitions.txt
besides me?
Was anything changed besides share/socialcalc/definitions.txt?