Tras esta primera prueba, el abogado o responsable que lleva el tema le pone directamente con el oficial bancario y su secretario para que evidencia losRead more
Invertir en una divisa que ha multiplicado su valor un 300.000 en tan solo siete aos, puede dar como mnimo un poco de vrtigo. Al igualRead more
I came across a unique finding for CreateSpecificCulture API which might not be so obvious at times. Based on not sure what exact reason (may be population, country of origin, national language etc.) there is a global standardization based on which the default locale for a given culture is decided when you try to create a specific culture from a culture. Any information or comments are welcome. If your application logic or requirements are in any way relying on this behavior of this API you got to be cautious.
For portuguese, the language name abbrevitaion of invariant culture "Portuguese" matches with "Portuguese (Brazil which is PTB. Microsoft has documented the entire list at following link : px, if you want to know which is the default country locale for a given culture or language just match the last column (Language Name Abbreviation) code in the above link. Unfortunately this is not the case. I am new to Winforms development and I going to be displaying data to my users in a textbox.
So in this case Portuguese (Brazil) is the default locale for portuguese language. THE factor behind setting a specific country as default locale for any culture which doesn't sound so obvious in case of Portuguese. While using the API when you pass it only the culture name like pt (for portuguese) or de (for German) this API returns a specific culture corresponding to the locale which is termed as default locale for that culture. Portuguese(Portugal) has a different code PTG. For German, de-DE looks obvious which is German spoken in Germany. Does anyone have any suggestions? The textbox will be databound with data that is currency so I am trying to Format the value that is being displayed.