#6092: Localization for NetworkStatus application ------------------------------------------------------------------+--------- Reporter: Karvjorm | Owner: pulkomandy Type: enhancement | Status: assigned Priority: normal | Milestone: R1 Component: Applications | Version: R1/alpha2 Keywords: NetworkStatus localization patch libbe.so build fail | Blockedby: Patch: 1 | Platform: All Blocking: | ------------------------------------------------------------------+--------- Comment(by pulkomandy): The part with strncmp() in NetworkStatusView:359 feels a bit hacky to me. Also, kstatusDescriptions is a const, so you can't change it this way. Instead, you have to use TR_MARK (or whatever the macro to "mark for translation" was renamed to), on the static strings in line 51. Then, you have to call B_TRANSLATE in all the places where the table is actually used, for example printf(kStatusDescriptions[2]) becomes printf(B_TRANSLATE(kStatusDescrptions[2])). -- Ticket URL: <http://dev.haiku-os.org/ticket/6092#comment:4> Haiku <http://dev.haiku-os.org> Haiku - the operating system.