• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Translating pt_BR.properties

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys!!!

I'm translating the missing lines from en_US.properties file to pt_BR.properties files (all at \WEB-INF\config\languages\)

Differing them, is possible to discover the following:


en_US have AND pt_BR don't have:

Admin.adminIndex
Admin.banners
Admin.welcome.currentVersion
Admin.welcome.enabledInstallation
Admin.welcome.ipAddress
Admin.welcome.lastUpdated
Admin.welcome.latestVersion
Admin.welcome.logIn
Admin.welcome.numPosts
Admin.welcome.numTopics
Admin.welcome.numUsers
Admin.welcome.outdatedVersion
Admin.welcome.postsPerDay
Admin.welcome.releaseNotes
Admin.welcome.removeInstallation
Admin.welcome.securityWarning
Admin.welcome.statistic
Admin.welcome.topicsPerDay
Admin.welcome.unknowVersion
Admin.welcome.upToDateVersion
Admin.welcome.usersPerDay
Admin.welcome.value
AdminAttachments.addNew
AdminAttachments.addNewExtension
AdminAttachments.existing
AdminAttachments.existingExtensions
AdminAttachments.quotaChooseLimit
AdminAttachments.thumbBorder
AdminAttachments.thumbBorderDesc
Banner.activateBanner
Banner.activated
Banner.adminTitle
Banner.bottomCenter
Banner.bottomLeft
Banner.bottomRight
Banner.clicks
Banner.clicksDesc
Banner.comment
Banner.customHTMLCode
Banner.height
Banner.imageDesc
Banner.imageDescDesc
Banner.imageLink
Banner.imagePathTextCode
Banner.imagePathTextCodeDesc
Banner.imageSize
Banner.imageSizeDesc
Banner.newBanner
Banner.placement
Banner.redirectUrl
Banner.redirectUrlDesc
Banner.textLink
Banner.topCenter
Banner.topLeft
Banner.topRight
Banner.type
Banner.update
Banner.views
Banner.weightOfBanner
Banner.weightOfBannerDesc
Banner.width
Cache.topicsInfo
CannotDeleteBanner
Config.Form.avatar
Config.Form.cacheSettings
Config.Form.forumName
Config.Form.LostPasswordFile
Config.Form.LostPasswordSubject
Config.Form.postsCacheEnabled
Config.Form.postsCacheSize
Config.Form.postsNewDelay
Config.Form.SmtpTest
Config.Form.SmtpTestFail
Config.Form.SmtpTestSending
Config.Form.SmtpTestSuccess
ForumBase.forumUnwatched
ForumIndex.forumAdmins
ForumIndex.moderation
ForumListing.noUserCreatedTopics
ForumListing.pollLabel
ForumListing.securityWarning
ForumListing.stats
ForumListing.userTopics
ForumListing.versionInformation
ForumShow.unwatch
ForumShow.watch
Install.dbConnectionTypeNative
Karma.invalidRange
Moderation.checkQueue
PostForm.AddAnotherFile
PostForm.addPoll
PostForm.needMorePollOptions
PostForm.pollAddOption
PostForm.pollDays
PostForm.pollDaysDescription
PostForm.pollDeleteOption
PostForm.pollOption
PostForm.pollQuestion
PostForm.pollRunFor
PostForm.tooSoon
PostShow.goToMessage
PostShow.noUserCreatedPosts
PostShow.pollTitle
PostShow.pollTotalVotes
PostShow.pollVote
PostShow.userOffline
PostShow.userOnline
PostShow.userPosts
RSS.PostsByPosts.description
RSS.PostsByPosts.title
RSS.TopicsByUser.description
RSS.TopicsByUser.title
submit
topLevelGroup
User.allowBbCode
User.allowSmilies
User.biography
User.currentPasswordInvalid
User.notFound
UserProfile.biography

----------

pt_BR have AND en_US don't have

Config.Form.ForumRSS
Config.Form.RSSTopics
Config.Form.TopicRSS
ForumRSS.description
Install.stepError
PasswordRecovery.mailTitle
PermissionControl.override
PermissionControl.save
PermissionControl.userFollowGroup
TopicRSS.description
TopicRSS.title
User.ActivateAccount.mailTitle
User.avatarExternal
usernameExists



After I translate it, how can I upload the files?

[ ]'s
[originally posted on jforum.net by leandro_salvador]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The .properties files had some ambiguities, which I tried to resolve following these steps:

1. Changed smiley to emoticon
2. Changed email to e-mail
3. Changed remove to delete
4. Changed remover to apagar (pt_BR)
5. Changed poll to enquete (pt_BR)
6. Changed sticky to adesivo (pt_BR)
7. Treated the word post like a verb, not a substantive
7.1. Changed post to mensagem (pt_BR)
7.2. Changed posted to enviada (pt_BR)
7.3. Changed post to message
7.4. Mantain posted as posted
8. Deleted all the end points --> it was highly inconsistent... some phrases had, others hadn't! It would be better to add the final point at template files, when it is necessary!
9. Mantained the HTML tags, unhappiness... it's a mission to another time, and isn't relevant, only not elegant to JForum's architecture...
10. Changed
and
to

11. Rearranged the lines to alfabetical order --> it will make easy future changes and translations

I think with these changes JForum (en_US and pt_BR) will be a few more padronized... enjoy it!

And send it to CVS if anybody wants!!!

[ ]'s
[originally posted on jforum.net by leandro_salvador]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pt_BR.properties at languages.zip above has one error... corrected here!
[originally posted on jforum.net by leandro_salvador]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much. I added it to the CVS.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!