[Bug 62843] New: Tomcat Russian localization

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 62843] New: Tomcat Russian localization

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=62843

            Bug ID: 62843
           Summary: Tomcat Russian localization
           Product: Tomcat 9
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: -----

Created attachment 36202
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36202&action=edit
Index Page Lacalisation

Hello,
My previous patch for localization was contributed some time ago - it's bug
62558 (https://bz.apache.org/bugzilla/show_bug.cgi?id=62558).
I have completed work on the next patch. It internationalizes the homepage. I
made English and Russian translations. However, other languages can be added
there.
I look forward to your comments \ amendments \ wishes.I look forward to your
comments \ amendments \ wishes!

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 62843] Tomcat Russian localization

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=62843

--- Comment #1 from Konstantin Kolinko <[hidden email]> ---
Ivan, do you verify what the final result is (after the patch is applied)?

E.g. in the manager app "Deploy" and "Undeploy" are translated with the same
word. It looks odd.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 62843] Tomcat Russian localization

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=62843

--- Comment #2 from Ivan Krasnov <[hidden email]> ---
Good day!
I created a new class and package to localize the home page. However, I was
never able to achieve the creation of a new .jar file for my package during the
bulding phase. The home page is crashing because of this. I solved this problem
by inserting my new class into an already existing package. Now everything
works fine, index page completely internationalized.
If you are not satisfied with this way of avoiding the ".jar "problem or are
not satisfied with the package in which I added my class, I will try to do it
differently.
About Manager App - yes, there was a typo there, in my diff file i am
correcting this mistake

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 62843] Tomcat Russian localization

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=62843

--- Comment #3 from Ivan Krasnov <[hidden email]> ---
Created attachment 36246
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36246&action=edit
Home Page Localisation V1.1

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 62843] Tomcat Russian localization

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=62843

--- Comment #4 from Mark Thomas <[hidden email]> ---
You can't add anything in the java or javax package space as they are
controlled by the specifications.

Please update the patches to the latest source code, removing the changes that
have already been applied.

I think it would be better to add the l10n strings via a custom tag that looks
up the provided key for the user's (not Tomcat's) locale in the resource
bundle. Or similar. Unless there is something standard available that does this
already. JSTL?
StringManager could provide much of the required functionality but as an
internal Tomcat class it would not normally by visible to a web application.

I'll extract the Deploy/Undeploy fix and apply it.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]