Re: Cannot find strings into WebObjects application files
Re: Cannot find strings into WebObjects application files
- Subject: Re: Cannot find strings into WebObjects application files
- From: Theodore Petrosky <email@hidden>
- Date: Sun, 26 May 2013 04:19:37 -0700 (PDT)
If there is no Localizable.string file, then webobjects will not localize the application. Meaning the names of objects are the names of the Tables and Columns from your database.
You can create the file by right clicking on the Resources folder and creating a file called Localizable.strings. Remember to include the folder name for the language. i.e.. English.lproj or Spanish.lproj
you will end up with as many folders as you want local strings:
<Project>/Resources/English.lproj/Localizable.strings
"Nav.QueryGrid" = "Search Grid";
<Project>/Resources/Spanish.lproj/Localizable.strings
"Nav.QueryGrid" = "Busca Grid";
Is this what you are looking for?
Ted
--- On Sun, 5/26/13, Fabian Peters <email@hidden> wrote:
> From: Fabian Peters <email@hidden>
> Subject: Re: Cannot find strings into WebObjects application files
> To: "WebObjects-dev apple dot com" <email@hidden>
> Cc: "Filippo Laurìa" <email@hidden>
> Date: Sunday, May 26, 2013, 3:34 AM
> Hi Filippo,
>
> My guess would be that "Localizable.strings" files are being
> used to store the localizations and that these files are in
> UTF-16. You would have to jump through some hoops to use
> grep on them. Just look for "Localizable.strings" files and
> see whether you can find the table header text on the right
> hand side. Then search for the corresponding left-hand side
> key via grep or eclipse and you should find the component
> you're looking for.
>
> Fabian
>
> Am 25.05.2013 um 20:01 schrieb Filippo Laurìa:
>
> > Hello everyone,
> >
> > I use this mailing list as "last chance" to solve this
> problem that is
> > serioulsy driving me crazy.
> >
> > I had always the same WebObjects application (Web-CAT),
> truely it's a
> > collection of WebObjects frameworks linked together.
> >
> > After few weeks I can easily build this application
> (it's been not
> > easy at all). Now I have to modify it. Before I start,
> let's say that
> > in the last month I completed some of tutorials of
> wocommunity.org so
> > I learned something about WebObjects, in other words
> I'm not an expert
> > :).
> >
> > Well, I have to do this changes on Web-CAT. (Changes
> concern adding a
> > new component to the application).
> >
> > I need to reach this component clicking a link (or a
> button, now it
> > doesn't matter). I have to put this link in a precise
> point of an
> > already existing page. The problem is that the body of
> this page is
> > generated "at runtime" fetching datas from a MySQL
> database.
> >
> > Content is of this type:
> >
> > First Table:
> > T1 | T2 | T3
> > D1 | D2 | D3
> > D4 | D5 | D6
> > ...
> >
> > Second Table:
> > T1 | T2 | T3
> > D7 | D8 | D9
> > ...
> >
> > Third Table:
> > T1 | T2 | T3
> > ...
> >
> > For every line in the table, header excepted, I have to
> add a link.
> >
> > First Table:
> > T1 | T2 | T3
> > D1 | D2 | D3 | Link1
> > D4 | D5 | D6 | Link2
> > ...
> >
> > Now to localize this tables, better where they are
> generated, I'm
> > searching, with linux grep command some references of
> table title
> > lines into the entire eclipse workspace finding
> nothing.
> >
> > There's no "multi-language stuffs" so I thought table
> title strings
> > can be found searching them as they are showed into
> normal browser
> > navigation tab, but I did not find anything (i thought
> "this is
> > impossible into an application based on MVC pattern"
> isn't it?).
> >
> > I also tried searching them into the entire database
> (dumping database
> > into a text file and then always with grep command).
> >
> > Now, i really don't know how to localize where this
> tables are
> > generated. Maybe (it's a guess) there are some methods
> used on this
> > string for first letter capitalization or other string
> manipulation
> > methods that prevents the exact match of those strings
> using a grep
> > search.
> >
> > I can't figure out a better method to match the exact
> file where
> > tables are generated, any better suggestion is well
> accepted.
> >
> > Thank you everybody.
> > _______________________________________________
> > WebObjects-dev mailing list
> > email@hidden
> > http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be
> ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden