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: Ramsey Gurley <email@hidden>
- Date: Sun, 26 May 2013 10:41:22 -0700
This Web-CAT?
http://web-cat.cvs.sourceforge.net/viewvc/web-cat/Web-CAT/
It looks like it uses wonder. You should try enabling Click to Open. That will let you click on a component in the page to open that component directly in eclipse.
http://wiki.wocommunity.org/display/documentation/Click+to+Open
Ramsey
On May 26, 2013, at 9:05 AM, Filippo Laurìa wrote:
> Thanks everyone for answering.
>
> Maybe I did not well explained my problem:
>
> Let's suppose that my application generates tables like this:
>
> 1)
> Character | Species
> Goofy | dog
> Mickey | mouse
> Ducky | duck
>
> 2)
> Character | Species
> Minnie | mouse
> Pluto | dog
>
> (I found into MySQL database that datas come from an unique db table
> and they are splitted into html tables according to a particular
> attribute of db table)
>
> Now I expected that somewhere, perhaps in a component, i find:
>
> <table><tr><th>Character</th><th>Species</th>...
>
> code that generates other rows
>
> </tr></table>
>
> It's a guess, maybe I'm wrong on this. For this, I did not search
> (using grep command and also eclipse search command)
> any html tag, even better i was looking for "haracter" and them for
> "pecies" finding nothing.
>
> I did this search also into db tables to avoid any miss, but still not
> getting any result.
>
> Maybe, i thought there's some way to build tables from a db that i don't know.
>
> I hope I explained properly, this time.
>
> 2013/5/26 Theodore Petrosky <email@hidden>:
>> 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.
>>>
>
> I looked for Localization.strings, as you said, this files are not
> found into project sources but, I found them into directory where I
> deployed the application, pretty surely imported from
> ERDirectToWeb.framework.
>
> Obviously, I don't find strings that I was 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
_______________________________________________
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