Issue Details (XML | Word | Printable)

Key: MBS-4338
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Ian McEwen
Reporter: Aurélien Mino
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MusicBrainz Server
MBS-4107

country, language, script strings should not share identical msgid

Created: 19/Feb/12 01:23 PM   Updated: 09/Jul/12 07:14 AM   Resolved: 09/Jul/12 07:14 AM
Component/s: Internationalization
Affects Version/s: None
Fix Version/s: Bug fixes, 2012-07-09

Issue Links:
Relates
 


Sort Order: Ascending order - Click to sort in descending order
Aurélien Mino added a comment - 19/Feb/12 01:26 PM - edited

While translating server resources, I've encountered the following issue a few times:

In English, "Nauru" designs both a country name and a language name, so in the .po file they're factorized:

#: DB:country/name:148 DB:language/name:294
msgid "Nauru"

However, in French the country name and the language name are different, so I can't translate them properly:
country name = "Nauru"
language name = "nauruan"

I've also encountered this type of collision between language and script.


Ian McEwen added a comment - 19/Feb/12 11:09 PM

Noting for future reference: Probably the way to fix this is is to either provide context with these strings or to pull these different things from separate message catalogs – I'm inclined to say the latter without having thought too hard about it, since I/we've already been thinking of trying to split up our currently-gigantic catalog into some reusable chunks (e.g. AR names & descriptions, which can be used by many client applications).


Oliver Charles added a comment - 25/Jun/12 10:50 AM

This is in beta testing with the origin/split-domains branch (one merge conflict addressed since Ian's branch).