Modify

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#11148 closed enhancement (fixed)

Add Valencian language to josm (ca@valencia)

Reported by: stoecker Owned by: team
Priority: normal Milestone: 15.04
Component: Core Version:
Keywords: Cc:

Description

See #8645 - we have many translations for this language, but due to this strange language code it cannot be included that easily.

Attachments (0)

Change History (20)

comment:1 Changed 4 years ago by simon04

In [o31086]:

see #josm11148 - Add Valencian language to josm (ca@valencia).

comment:2 Changed 4 years ago by simon04

Resolution: fixed
Status: newclosed

In 8207/josm:

fix #11148 - Add Valencian language to josm (ca@valencia)

comment:3 Changed 4 years ago by simon04

Milestone: 15.04

Now only an i18n update is required …

comment:4 Changed 4 years ago by stoecker

At least also JOSM server scripts and TranslatedPages macro need an update. :-)

comment:5 Changed 4 years ago by stoecker

Well we need a better encoding,

  • "@" in page names does not work.
  • "__" causes the text to become underlined.

I'd vote for a "-" instead of the "@" for pages and arguments where the "@" wont work. Where did you get the "__" from?

comment:6 in reply to:  5 Changed 4 years ago by simon04

Replying to stoecker:

Where did you get the "__" from?

new Locale(/*language*/ "ca", /*country*/ "", /*variant*/ "valencia").toString()

comment:7 Changed 4 years ago by stoecker

Fix dialects - see [o31087].

comment:8 Changed 4 years ago by stoecker

In 8227/josm:

fix #11148 - add Valencian language

comment:9 Changed 4 years ago by stoecker

comment:10 Changed 4 years ago by stoecker

In 8228/josm:

see #11148 - readd license

comment:11 in reply to:  3 Changed 4 years ago by stoecker

Replying to simon04:

Now only an i18n update is required …

That comment was much too early...

comment:12 Changed 4 years ago by stoecker

For reference: In XML, Manifest and Webpages titles "-" is used instead of "@".

comment:13 Changed 4 years ago by stoecker

In 8232/josm:

see #11148 - move language stuff to the correct place instead of spreading it in the code

comment:14 Changed 4 years ago by stoecker

In 8233/josm:

see #11148 - cleanup doc texts

comment:15 Changed 4 years ago by stoecker

As I said: "but due to this strange language code it cannot be included that easily".

comment:16 Changed 4 years ago by stoecker

Simon: Why did you add the "Valencian" text? Is this needed for Windows? My Linux Version has the texts (and translations) for Valencian. If this is needed for Windows, could you also check the other languages like Khmer?

comment:17 Changed 4 years ago by simon04

I'm also using Linux. While testing, I obtained that new Locale("ca", "", "valencia").getDisplayName() doesn't return a name. However right now it does. So it seems superfluous …

new Locale("km").getDisplayName() works as well …

comment:18 Changed 4 years ago by stoecker

In 8241/josm:

see #11148 - removed language display name workaround, but keep the function nevertheless

comment:19 Changed 4 years ago by stoecker

Seems ca@valencia also does not really work for Launchpad. I created a bug report for this:
https://bugs.launchpad.net/launchpad/+bug/1447036

JOSM-related Launchpad-users can say it affects them to increase bug-heat (even if that did not help much for the other launchpad bugs :-)

comment:20 in reply to:  19 Changed 4 years ago by Don-vip

Replying to stoecker:

JOSM-related Launchpad-users can say it affects them to increase bug-heat (even if that did not help much for the other launchpad bugs :-)

Done, I also added JOSM project (it does also increase bug heat, right?)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.